pub struct LocalTimeOverrides {
pub hour: Option<i64>,
pub minute: Option<i64>,
pub second: Option<i64>,
pub millisecond: Option<i64>,
pub microsecond: Option<i64>,
pub nanosecond: Option<i64>,
}Expand description
Component overrides for localtime projection (localtime({time: base, …})):
a field left None keeps the base’s value; the sub-second fields, if any are
present, jointly replace the base fraction.
Fields§
§hour: Option<i64>Hour of day (0–23).
minute: Option<i64>Minute (0–59).
second: Option<i64>Second (0–59).
millisecond: Option<i64>Milliseconds of the second (additive with micro/nano).
microsecond: Option<i64>Microseconds of the second (additive).
nanosecond: Option<i64>Nanoseconds of the second (additive).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalTimeOverrides
impl RefUnwindSafe for LocalTimeOverrides
impl Send for LocalTimeOverrides
impl Sync for LocalTimeOverrides
impl Unpin for LocalTimeOverrides
impl UnsafeUnpin for LocalTimeOverrides
impl UnwindSafe for LocalTimeOverrides
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more