Struct serde_with::DurationMilliSeconds[][src]

pub struct DurationMilliSeconds<FORMAT: Format = u64, STRICTNESS: Strictness = Strict>(_);

Equivalent to DurationSeconds with milli-seconds as base unit.

This type is equivalent to DurationSeconds except that the each unit represents 1 milli-second instead of 1 second for DurationSeconds.

Trait Implementations

impl<FORMAT: Clone + Format, STRICTNESS: Clone + Strictness> Clone for DurationMilliSeconds<FORMAT, STRICTNESS>[src]

impl<FORMAT: Copy + Format, STRICTNESS: Copy + Strictness> Copy for DurationMilliSeconds<FORMAT, STRICTNESS>[src]

impl<FORMAT: Debug + Format, STRICTNESS: Debug + Strictness> Debug for DurationMilliSeconds<FORMAT, STRICTNESS>[src]

impl<FORMAT: Default + Format, STRICTNESS: Default + Strictness> Default for DurationMilliSeconds<FORMAT, STRICTNESS>[src]

impl<'de> DeserializeAs<'de, Duration> for DurationMilliSeconds<i64, Strict>[src]

impl<'de> DeserializeAs<'de, Duration> for DurationMilliSeconds<f64, Strict>[src]

impl<'de> DeserializeAs<'de, Duration> for DurationMilliSeconds<String, Strict>[src]

impl<'de, FORMAT> DeserializeAs<'de, Duration> for DurationMilliSeconds<FORMAT, Flexible> where
    FORMAT: Format
[src]

impl<'de> DeserializeAs<'de, Duration> for DurationMilliSeconds<u64, Strict>[src]

impl<'de> DeserializeAs<'de, Duration> for DurationMilliSeconds<f64, Strict>[src]

impl<'de> DeserializeAs<'de, Duration> for DurationMilliSeconds<String, Strict>[src]

impl<'de, FORMAT> DeserializeAs<'de, Duration> for DurationMilliSeconds<FORMAT, Flexible> where
    FORMAT: Format
[src]

impl<STRICTNESS> SerializeAs<Duration> for DurationMilliSeconds<i64, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<Duration> for DurationMilliSeconds<f64, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<Duration> for DurationMilliSeconds<String, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<Duration> for DurationMilliSeconds<u64, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<Duration> for DurationMilliSeconds<f64, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<Duration> for DurationMilliSeconds<String, STRICTNESS> where
    STRICTNESS: Strictness
[src]

Auto Trait Implementations

impl<FORMAT, STRICTNESS> RefUnwindSafe for DurationMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: RefUnwindSafe,
    STRICTNESS: RefUnwindSafe

impl<FORMAT, STRICTNESS> Send for DurationMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: Send,
    STRICTNESS: Send

impl<FORMAT, STRICTNESS> Sync for DurationMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: Sync,
    STRICTNESS: Sync

impl<FORMAT, STRICTNESS> Unpin for DurationMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: Unpin,
    STRICTNESS: Unpin

impl<FORMAT, STRICTNESS> UnwindSafe for DurationMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: UnwindSafe,
    STRICTNESS: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.