pub struct CqlTime(pub i64);
Expand description
Native CQL time representation.
Represented as nanoseconds since midnight.
Tuple Fields§
§0: i64
Trait Implementations§
source§impl FromCqlVal<CqlValue> for CqlTime
impl FromCqlVal<CqlValue> for CqlTime
source§impl PartialEq for CqlTime
impl PartialEq for CqlTime
source§impl SerializeCql for CqlTime
impl SerializeCql for CqlTime
source§fn serialize<'b>(
&self,
typ: &ColumnType,
writer: CellWriter<'b>
) -> Result<WrittenCellProof<'b>, SerializationError>
fn serialize<'b>( &self, typ: &ColumnType, writer: CellWriter<'b> ) -> Result<WrittenCellProof<'b>, SerializationError>
Serializes the value to given CQL type. Read more
impl Copy for CqlTime
impl Eq for CqlTime
impl StructuralPartialEq for CqlTime
Auto Trait Implementations§
impl RefUnwindSafe for CqlTime
impl Send for CqlTime
impl Sync for CqlTime
impl Unpin for CqlTime
impl UnwindSafe for CqlTime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.