pub struct UtcDate(pub DateTime<Utc>);Expand description
StackExchange dump dates are always specified in UTC, so we parse them accordingly
Tuple Fields§
§0: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UtcDate
impl<'de> Deserialize<'de> for UtcDate
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 Ord for UtcDate
impl Ord for UtcDate
Source§impl PartialOrd for UtcDate
impl PartialOrd for UtcDate
impl Copy for UtcDate
impl Eq for UtcDate
impl StructuralPartialEq for UtcDate
Auto Trait Implementations§
impl Freeze for UtcDate
impl RefUnwindSafe for UtcDate
impl Send for UtcDate
impl Sync for UtcDate
impl Unpin for UtcDate
impl UnwindSafe for UtcDate
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