Struct wmi::datetime::WMIDateTime
source · [−]pub struct WMIDateTime(pub DateTime<FixedOffset>);
Expand description
A wrapper type around chrono
’s DateTime
(if the chrono
feature is active. ), which supports parsing from WMI-format strings.
Tuple Fields
0: DateTime<FixedOffset>
Trait Implementations
sourceimpl Debug for WMIDateTime
impl Debug for WMIDateTime
sourceimpl<'de> Deserialize<'de> for WMIDateTime
impl<'de> Deserialize<'de> for WMIDateTime
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 FromStr for WMIDateTime
impl FromStr for WMIDateTime
sourceimpl Serialize for WMIDateTime
impl Serialize for WMIDateTime
Auto Trait Implementations
impl RefUnwindSafe for WMIDateTime
impl Send for WMIDateTime
impl Sync for WMIDateTime
impl Unpin for WMIDateTime
impl UnwindSafe for WMIDateTime
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