pub struct SunEvents {
pub astronomical_dawn: Option<String>,
pub nautical_dawn: Option<String>,
pub civil_dawn: Option<String>,
pub sunrise: Option<String>,
pub solar_noon: Option<String>,
pub sunset: Option<String>,
pub civil_dusk: Option<String>,
pub nautical_dusk: Option<String>,
pub astronomical_dusk: Option<String>,
pub solar_midnight: Option<String>,
}Expand description
Represents WeatherKit sun event values.
Fields§
§astronomical_dawn: Option<String>Matches the WeatherKit astronomical dawn value.
nautical_dawn: Option<String>Matches the WeatherKit nautical dawn value.
civil_dawn: Option<String>Matches the WeatherKit civil dawn value.
sunrise: Option<String>Matches the WeatherKit sunrise value.
solar_noon: Option<String>Matches the WeatherKit solar noon value.
sunset: Option<String>Matches the WeatherKit sunset value.
civil_dusk: Option<String>Matches the WeatherKit civil dusk value.
nautical_dusk: Option<String>Matches the WeatherKit nautical dusk value.
astronomical_dusk: Option<String>Matches the WeatherKit astronomical dusk value.
solar_midnight: Option<String>Matches the WeatherKit solar midnight value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SunEvents
impl<'de> Deserialize<'de> for SunEvents
Source§fn 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
impl Eq for SunEvents
impl StructuralPartialEq for SunEvents
Auto Trait Implementations§
impl Freeze for SunEvents
impl RefUnwindSafe for SunEvents
impl Send for SunEvents
impl Sync for SunEvents
impl Unpin for SunEvents
impl UnsafeUnpin for SunEvents
impl UnwindSafe for SunEvents
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more