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>
[src]
fn encode_to<W: Write>(&self, wr: W) -> TdsResult<()>
[src]
fn decode<R: Read>(rd: R, n: usize, len: u8) -> TdsResult<Time>
[src]
Trait Implementations
impl Copy for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Time
[src]
impl PartialEq for Time
[src]
fn eq(&self, t: &Time) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.