Struct weatherkit::weatherkitweather::CurrentWeather
source · [−]pub struct CurrentWeather {Show 18 fields
pub name: String,
pub metadata: Metadata,
pub as_of: String,
pub cloud_cover: f64,
pub condition_code: ConditionCode,
pub daylight: bool,
pub humidity: f64,
pub precipitation_intensity: f64,
pub pressure: f64,
pub pressure_trend: PressureTrend,
pub temperature: f64,
pub temperature_apparent: f64,
pub temperature_dew_point: f64,
pub uv_index: f64,
pub visibility: f64,
pub wind_direction: f64,
pub wind_gust: f64,
pub wind_speed: f64,
}
Fields
name: String
metadata: Metadata
as_of: String
cloud_cover: f64
condition_code: ConditionCode
daylight: bool
humidity: f64
precipitation_intensity: f64
pressure: f64
pressure_trend: PressureTrend
temperature: f64
temperature_apparent: f64
temperature_dew_point: f64
uv_index: f64
visibility: f64
wind_direction: f64
wind_gust: f64
wind_speed: f64
Trait Implementations
sourceimpl Debug for CurrentWeather
impl Debug for CurrentWeather
sourceimpl<'de> Deserialize<'de> for CurrentWeather
impl<'de> Deserialize<'de> for CurrentWeather
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for CurrentWeather
impl Serialize for CurrentWeather
Auto Trait Implementations
impl RefUnwindSafe for CurrentWeather
impl Send for CurrentWeather
impl Sync for CurrentWeather
impl Unpin for CurrentWeather
impl UnwindSafe for CurrentWeather
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more