pub struct IntervalParts {
pub months: i32,
pub days: i32,
pub micros: i64,
}Expand description
A broken-down DuckDB INTERVAL (months, days, microseconds).
Fields§
§months: i32Whole months.
days: i32Whole days.
micros: i64Sub-day microseconds.
Trait Implementations§
Source§impl Clone for IntervalParts
impl Clone for IntervalParts
Source§fn clone(&self) -> IntervalParts
fn clone(&self) -> IntervalParts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntervalParts
Source§impl Debug for IntervalParts
impl Debug for IntervalParts
impl Eq for IntervalParts
Source§impl PartialEq for IntervalParts
impl PartialEq for IntervalParts
Source§fn eq(&self, other: &IntervalParts) -> bool
fn eq(&self, other: &IntervalParts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntervalParts
Auto Trait Implementations§
impl Freeze for IntervalParts
impl RefUnwindSafe for IntervalParts
impl Send for IntervalParts
impl Sync for IntervalParts
impl Unpin for IntervalParts
impl UnsafeUnpin for IntervalParts
impl UnwindSafe for IntervalParts
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