Struct rweather_decoder::datetime::UtcDayTime
source · #[non_exhaustive]pub struct UtcDayTime(pub u32, pub NaiveTime);Expand description
UTC day-time wrapper around integer day and chrono NaiveTime.
Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u32§1: NaiveTimeTrait Implementations§
source§impl Debug for UtcDayTime
impl Debug for UtcDayTime
source§impl<'de> Deserialize<'de> for UtcDayTime
impl<'de> Deserialize<'de> for UtcDayTime
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
source§impl PartialEq<UtcDayTime> for UtcDayTime
impl PartialEq<UtcDayTime> for UtcDayTime
source§fn eq(&self, other: &UtcDayTime) -> bool
fn eq(&self, other: &UtcDayTime) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UtcDayTime
impl Serialize for UtcDayTime
impl StructuralPartialEq for UtcDayTime
Auto Trait Implementations§
impl RefUnwindSafe for UtcDayTime
impl Send for UtcDayTime
impl Sync for UtcDayTime
impl Unpin for UtcDayTime
impl UnwindSafe for UtcDayTime
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