Struct tiberius::ty::SmallDateTime
[−]
[src]
pub struct SmallDateTime { pub days: u16, pub seconds_fragments: u16, }
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: u16
Days since 1.1.1900 (including the negative range until 1.1.1753)
seconds_fragments: u16
1/300 of a second, so a value of 300 equals 1 second [since 12 AM]
Trait Implementations
impl Copy for SmallDateTime
[src]
impl Clone for SmallDateTime
[src]
fn clone(&self) -> SmallDateTime
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
impl Debug for SmallDateTime
[src]
impl Eq for SmallDateTime
[src]
impl PartialEq for SmallDateTime
[src]
fn eq(&self, __arg_0: &SmallDateTime) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SmallDateTime) -> bool
This method tests for !=
.