pub struct TimeTz {
pub time: Time,
pub offset_seconds: i32,
}Expand description
A TIME WITH TIME ZONE, decomposed into wall-clock time plus UTC offset.
The derived ordering is structural (wall-clock time first, then offset),
not DuckDB’s SQL ordering, which compares the UTC instant.
Fields§
§time: TimeThe wall-clock time.
offset_seconds: i32Offset from UTC in seconds.
Trait Implementations§
impl Copy for TimeTz
impl Eq for TimeTz
Source§impl Ord for TimeTz
impl Ord for TimeTz
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TimeTz
impl PartialOrd for TimeTz
impl StructuralPartialEq for TimeTz
Auto Trait Implementations§
impl Freeze for TimeTz
impl RefUnwindSafe for TimeTz
impl Send for TimeTz
impl Sync for TimeTz
impl Unpin for TimeTz
impl UnsafeUnpin for TimeTz
impl UnwindSafe for TimeTz
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