Struct obrewin_data_structures::misc::DateTimeUTC
source · pub struct DateTimeUTC(/* private fields */);Expand description
Wrapping struct for DateTime<Utc>.
Trait Implementations§
source§impl Clone for DateTimeUTC
impl Clone for DateTimeUTC
source§fn clone(&self) -> DateTimeUTC
fn clone(&self) -> DateTimeUTC
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'de> Deserialize<'de> for DateTimeUTC
impl<'de> Deserialize<'de> for DateTimeUTC
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 From<DateTimeUTC> for DateTime<Utc>
impl From<DateTimeUTC> for DateTime<Utc>
source§fn from(value: DateTimeUTC) -> Self
fn from(value: DateTimeUTC) -> Self
Converts to this type from the input type.
source§impl Serialize for DateTimeUTC
impl Serialize for DateTimeUTC
impl Copy for DateTimeUTC
Auto Trait Implementations§
impl Freeze for DateTimeUTC
impl RefUnwindSafe for DateTimeUTC
impl Send for DateTimeUTC
impl Sync for DateTimeUTC
impl Unpin for DateTimeUTC
impl UnwindSafe for DateTimeUTC
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