Struct serde_with::TimestampNanoSecondsWithFrac[][src]

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

Equivalent to TimestampSecondsWithFrac with nano-seconds as base unit.

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

Trait Implementations

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

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

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

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

impl<'de> DeserializeAs<'de, DateTime<Local>> for TimestampNanoSecondsWithFrac<f64, Strict>[src]

impl<'de> DeserializeAs<'de, DateTime<Local>> for TimestampNanoSecondsWithFrac<String, Strict>[src]

impl<'de, FORMAT> DeserializeAs<'de, DateTime<Local>> for TimestampNanoSecondsWithFrac<FORMAT, Flexible> where
    FORMAT: Format
[src]

impl<'de> DeserializeAs<'de, DateTime<Utc>> for TimestampNanoSecondsWithFrac<f64, Strict>[src]

impl<'de> DeserializeAs<'de, DateTime<Utc>> for TimestampNanoSecondsWithFrac<String, Strict>[src]

impl<'de, FORMAT> DeserializeAs<'de, DateTime<Utc>> for TimestampNanoSecondsWithFrac<FORMAT, Flexible> where
    FORMAT: Format
[src]

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

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

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

impl<TZ, STRICTNESS> SerializeAs<DateTime<TZ>> for TimestampNanoSecondsWithFrac<f64, STRICTNESS> where
    TZ: TimeZone,
    STRICTNESS: Strictness
[src]

impl<TZ, STRICTNESS> SerializeAs<DateTime<TZ>> for TimestampNanoSecondsWithFrac<String, STRICTNESS> where
    TZ: TimeZone,
    STRICTNESS: Strictness
[src]

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

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

Auto Trait Implementations

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

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

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

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

impl<FORMAT, STRICTNESS> UnwindSafe for TimestampNanoSecondsWithFrac<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.