Struct tiberius::ty::DateTime
[−]
[src]
pub struct DateTime { pub days: i32, pub seconds_fragments: u32, }
Warning
It isn't recommended to use this If you want to deal with date types, use the chrono feature of this crate instead!
This is merely exported not to limit flexibility
Fields
days: i32
Days since 1.1.1900 (including the negative range until 1.1.1753)
seconds_fragments: u32
1/300 of a second, so a value of 300 equals 1 second [since 12 AM]
Trait Implementations
impl Copy for DateTime
[src]
impl Clone for DateTime
[src]
fn clone(&self) -> DateTime
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more