Struct scylla_udf::CqlDuration
source · pub struct CqlDuration {
pub months: i32,
pub days: i32,
pub nanoseconds: i64,
}
Expand description
Represents a CQL Duration value
Fields§
§months: i32
§days: i32
§nanoseconds: i64
Trait Implementations§
source§impl Clone for CqlDuration
impl Clone for CqlDuration
source§fn clone(&self) -> CqlDuration
fn clone(&self) -> CqlDuration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CqlDuration
impl Debug for CqlDuration
source§impl FromCqlVal<CqlValue> for CqlDuration
impl FromCqlVal<CqlValue> for CqlDuration
fn from_cql(cql_val: CqlValue) -> Result<CqlDuration, FromCqlValError>
source§impl PartialEq<CqlDuration> for CqlDuration
impl PartialEq<CqlDuration> for CqlDuration
source§fn eq(&self, other: &CqlDuration) -> bool
fn eq(&self, other: &CqlDuration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.