pub enum TimestampCorrelation {
    Timestamp(Field<DateTime>),
    FractionalTimestamp(Field<Uint16>),
    SystemTimestamp(Field<DateTime>),
    FractionalSystemTimestamp(Field<Uint16>),
    LocalTimestamp(Field<LocalDateTime>),
    TimestampMs(Field<Uint16>),
    SystemTimestampMs(Field<Uint16>),
    Unknown {
        data: Vec<u8>,
        field_def_num: u8,
    },
}

Variants

Timestamp(Field<DateTime>)

Whole second part of UTC timestamp at the time the system timestamp was recorded.

FractionalTimestamp(Field<Uint16>)

Fractional part of the UTC timestamp at the time the system timestamp was recorded.

SystemTimestamp(Field<DateTime>)

Whole second part of the system timestamp

FractionalSystemTimestamp(Field<Uint16>)

Fractional part of the system timestamp

LocalTimestamp(Field<LocalDateTime>)

timestamp epoch expressed in local time used to convert timestamps to local time

TimestampMs(Field<Uint16>)

Millisecond part of the UTC timestamp at the time the system timestamp was recorded.

SystemTimestampMs(Field<Uint16>)

Millisecond part of the system timestamp

Unknown

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.