Struct serde_with::TimestampMilliSeconds[][src]

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

Equivalent to TimestampSeconds with milli-seconds as base unit.

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

Trait Implementations

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

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

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

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

impl<'de> DeserializeAs<'de, SystemTime> for TimestampMilliSeconds<i64, Strict>[src]

impl<'de> DeserializeAs<'de, SystemTime> for TimestampMilliSeconds<f64, Strict>[src]

impl<'de> DeserializeAs<'de, SystemTime> for TimestampMilliSeconds<String, Strict>[src]

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

impl<STRICTNESS> SerializeAs<SystemTime> for TimestampMilliSeconds<i64, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<SystemTime> for TimestampMilliSeconds<f64, STRICTNESS> where
    STRICTNESS: Strictness
[src]

impl<STRICTNESS> SerializeAs<SystemTime> for TimestampMilliSeconds<String, STRICTNESS> where
    STRICTNESS: Strictness
[src]

Auto Trait Implementations

impl<FORMAT, STRICTNESS> RefUnwindSafe for TimestampMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: RefUnwindSafe,
    STRICTNESS: RefUnwindSafe
[src]

impl<FORMAT, STRICTNESS> Send for TimestampMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: Send,
    STRICTNESS: Send
[src]

impl<FORMAT, STRICTNESS> Sync for TimestampMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: Sync,
    STRICTNESS: Sync
[src]

impl<FORMAT, STRICTNESS> Unpin for TimestampMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: Unpin,
    STRICTNESS: Unpin
[src]

impl<FORMAT, STRICTNESS> UnwindSafe for TimestampMilliSeconds<FORMAT, STRICTNESS> where
    FORMAT: UnwindSafe,
    STRICTNESS: UnwindSafe
[src]

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.