Struct repr::adt::datetime::DateTimeFieldValue [−][src]
Expand description
Tracks a unit and a fraction from a parsed time-like string, e.g. INTERVAL ‘1.2’ DAYS.
Fields
unit: i64
Integer part of the value.
fraction: i64
Fractional part of value, padded to billions/has 9 digits of precision,
e.g. .5
is represented as 500000000
.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DateTimeFieldValue
impl Send for DateTimeFieldValue
impl Sync for DateTimeFieldValue
impl Unpin for DateTimeFieldValue
impl UnwindSafe for DateTimeFieldValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more