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 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 Freeze for CqlTime
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