Struct tiberius::ty::Time
[−]
[src]
pub struct Time { pub increments: u64, pub scale: u8, }
Number of 10-n second increments since 12AM
Fields
increments: u64
scale: u8
Methods
impl Time
[src]
fn len(&self) -> TdsResult<u8>
fn encode_to<W: Write>(&self, wr: W) -> TdsResult<()>
fn decode<R: Read>(rd: R, n: usize, len: u8) -> TdsResult<Time>
Trait Implementations
impl Copy for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
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