Struct dittolive_ditto::store::timeseries::DittoTimestamp[][src]

pub struct DittoTimestamp {
    pub epoch_sec: u64,
    pub nanos: u32,
}

Fields

epoch_sec: u64nanos: u32

Implementations

Construct a Timestamp key for an Event in a Timeseries from epoch seconds and nanosecond offset

Utility to make a timestamp from the current UTC time

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts to T by calling Into<T>::into.

Tries to convert to T by calling TryInto<T>::try_into.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.