pub enum SessionTz {
Utc,
Fixed(i64),
Named(String, TzOffsetFn, TzAbbrevFn),
}Expand description
v7.39 (tz epic) — per-statement snapshot of the session TimeZone, consumed per-VALUE by the timestamptz renderers (a DST zone’s offset depends on the instant being rendered).
Variants§
Utc
Fixed(i64)
Fixed offset, µs east.
Named(String, TzOffsetFn, TzAbbrevFn)
IANA zone + the host lookups.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionTz
impl RefUnwindSafe for SessionTz
impl Send for SessionTz
impl Sync for SessionTz
impl Unpin for SessionTz
impl UnsafeUnpin for SessionTz
impl UnwindSafe for SessionTz
Blanket Implementations§
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