Struct wmi::duration::WMIDuration
source · [−]pub struct WMIDuration(pub Duration);
Expand description
A wrapper type around Duration, which supports parsing from WMI-format strings.
Tuple Fields
0: Duration
Trait Implementations
sourceimpl Debug for WMIDuration
impl Debug for WMIDuration
sourceimpl<'de> Deserialize<'de> for WMIDuration
impl<'de> Deserialize<'de> for WMIDuration
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 WMIDuration
impl FromStr for WMIDuration
sourceimpl Serialize for WMIDuration
impl Serialize for WMIDuration
Auto Trait Implementations
impl RefUnwindSafe for WMIDuration
impl Send for WMIDuration
impl Sync for WMIDuration
impl Unpin for WMIDuration
impl UnwindSafe for WMIDuration
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