Struct libduckdb_sys::duckdb_timestamp
source · [−]#[repr(C)]pub struct duckdb_timestamp {
pub micros: i64,
}
Expand description
! Timestamps are stored as microseconds since 1970-01-01 ! Use the duckdb_from_timestamp/duckdb_to_timestamp function to extract individual information
Fields
micros: i64
Trait Implementations
sourceimpl Clone for duckdb_timestamp
impl Clone for duckdb_timestamp
sourcefn clone(&self) -> duckdb_timestamp
fn clone(&self) -> duckdb_timestamp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for duckdb_timestamp
impl Debug for duckdb_timestamp
impl Copy for duckdb_timestamp
Auto Trait Implementations
impl RefUnwindSafe for duckdb_timestamp
impl Send for duckdb_timestamp
impl Sync for duckdb_timestamp
impl Unpin for duckdb_timestamp
impl UnwindSafe for duckdb_timestamp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more