pub enum CqlValue {
Show 26 variants
Ascii(String),
Boolean(bool),
Blob(Vec<u8>),
Counter(Counter),
Decimal(BigDecimal),
Date(u32),
Double(f64),
Duration(CqlDuration),
Empty,
Float(f32),
Int(i32),
BigInt(i64),
Text(String),
Timestamp(Duration),
Inet(IpAddr),
List(Vec<CqlValue>),
Map(Vec<(CqlValue, CqlValue)>),
Set(Vec<CqlValue>),
UserDefinedType {
keyspace: String,
type_name: String,
fields: Vec<(String, Option<CqlValue>)>,
},
SmallInt(i16),
TinyInt(i8),
Time(Duration),
Timeuuid(Uuid),
Tuple(Vec<Option<CqlValue>>),
Uuid(Uuid),
Varint(BigInt),
}
Variants
Ascii(String)
Boolean(bool)
Blob(Vec<u8>)
Counter(Counter)
Decimal(BigDecimal)
Date(u32)
Days since -5877641-06-23 i.e. 2^31 days before unix epoch Can be converted to chrono::NaiveDate (-262145-1-1 to 262143-12-31) using as_date
Double(f64)
Duration(CqlDuration)
Empty
Float(f32)
Int(i32)
BigInt(i64)
Text(String)
Timestamp(Duration)
Milliseconds since unix epoch
Inet(IpAddr)
List(Vec<CqlValue>)
Map(Vec<(CqlValue, CqlValue)>)
Set(Vec<CqlValue>)
UserDefinedType
SmallInt(i16)
TinyInt(i8)
Time(Duration)
Nanoseconds since midnight
Timeuuid(Uuid)
Tuple(Vec<Option<CqlValue>>)
Uuid(Uuid)
Varint(BigInt)
Implementations
sourceimpl CqlValue
impl CqlValue
pub fn as_ascii(&self) -> Option<&String>
pub fn as_date(&self) -> Option<NaiveDate>
pub fn as_duration(&self) -> Option<Duration>
pub fn as_cql_duration(&self) -> Option<CqlDuration>
pub fn as_counter(&self) -> Option<Counter>
pub fn as_boolean(&self) -> Option<bool>
pub fn as_double(&self) -> Option<f64>
pub fn as_uuid(&self) -> Option<Uuid>
pub fn as_float(&self) -> Option<f32>
pub fn as_int(&self) -> Option<i32>
pub fn as_bigint(&self) -> Option<i64>
pub fn as_tinyint(&self) -> Option<i8>
pub fn as_smallint(&self) -> Option<i16>
pub fn as_blob(&self) -> Option<&Vec<u8>>
pub fn as_text(&self) -> Option<&String>
pub fn as_timeuuid(&self) -> Option<Uuid>
pub fn into_string(self) -> Option<String>
pub fn into_blob(self) -> Option<Vec<u8>>
pub fn as_inet(&self) -> Option<IpAddr>
pub fn as_list(&self) -> Option<&Vec<CqlValue>>
pub fn as_set(&self) -> Option<&Vec<CqlValue>>
pub fn as_map(&self) -> Option<&Vec<(CqlValue, CqlValue)>>
pub fn as_udt(&self) -> Option<&Vec<(String, Option<CqlValue>)>>
pub fn into_vec(self) -> Option<Vec<CqlValue>>
pub fn into_pair_vec(self) -> Option<Vec<(CqlValue, CqlValue)>>
pub fn into_udt_pair_vec(self) -> Option<Vec<(String, Option<CqlValue>)>>
pub fn into_varint(self) -> Option<BigInt>
pub fn into_decimal(self) -> Option<BigDecimal>
Trait Implementations
sourceimpl FromCqlVal<CqlValue> for CqlValue
impl FromCqlVal<CqlValue> for CqlValue
sourceimpl FromCqlVal<CqlValue> for i32
impl FromCqlVal<CqlValue> for i32
sourceimpl FromCqlVal<CqlValue> for bool
impl FromCqlVal<CqlValue> for bool
sourceimpl FromCqlVal<CqlValue> for String
impl FromCqlVal<CqlValue> for String
sourceimpl FromCqlVal<CqlValue> for Vec<u8>
impl FromCqlVal<CqlValue> for Vec<u8>
sourceimpl FromCqlVal<CqlValue> for IpAddr
impl FromCqlVal<CqlValue> for IpAddr
sourceimpl FromCqlVal<CqlValue> for Uuid
impl FromCqlVal<CqlValue> for Uuid
sourceimpl FromCqlVal<CqlValue> for BigDecimal
impl FromCqlVal<CqlValue> for BigDecimal
fn from_cql(cql_val: CqlValue) -> Result<BigDecimal, FromCqlValError>
sourceimpl FromCqlVal<CqlValue> for Duration
impl FromCqlVal<CqlValue> for Duration
sourceimpl FromCqlVal<CqlValue> for Time
impl FromCqlVal<CqlValue> for Time
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T: FromCqlVal<CqlValue>> FromCqlVal<CqlValue> for Vec<T>
impl<T: FromCqlVal<CqlValue>> FromCqlVal<CqlValue> for Vec<T>
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1: FromCqlVal<CqlValue> + Eq + Hash, T2: FromCqlVal<CqlValue>> FromCqlVal<CqlValue> for HashMap<T1, T2>
impl<T1: FromCqlVal<CqlValue> + Eq + Hash, T2: FromCqlVal<CqlValue>> FromCqlVal<CqlValue> for HashMap<T1, T2>
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl FromCqlVal<CqlValue> for i64
impl FromCqlVal<CqlValue> for i64
sourceimpl<T: FromCqlVal<CqlValue> + Eq + Hash> FromCqlVal<CqlValue> for HashSet<T>
impl<T: FromCqlVal<CqlValue> + Eq + Hash> FromCqlVal<CqlValue> for HashSet<T>
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T: FromCqlVal<CqlValue> + Ord> FromCqlVal<CqlValue> for BTreeSet<T>
impl<T: FromCqlVal<CqlValue> + Ord> FromCqlVal<CqlValue> for BTreeSet<T>
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<K: FromCqlVal<CqlValue> + Ord, V: FromCqlVal<CqlValue>> FromCqlVal<CqlValue> for BTreeMap<K, V>
impl<K: FromCqlVal<CqlValue> + Ord, V: FromCqlVal<CqlValue>> FromCqlVal<CqlValue> for BTreeMap<K, V>
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1> FromCqlVal<CqlValue> for (T1,) where
T1: FromCqlVal<Option<CqlValue>>,
impl<T1> FromCqlVal<CqlValue> for (T1,) where
T1: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2> FromCqlVal<CqlValue> for (T1, T2) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
impl<T1, T2> FromCqlVal<CqlValue> for (T1, T2) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3> FromCqlVal<CqlValue> for (T1, T2, T3) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3> FromCqlVal<CqlValue> for (T1, T2, T3) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4> FromCqlVal<CqlValue> for (T1, T2, T3, T4) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4> FromCqlVal<CqlValue> for (T1, T2, T3, T4) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl FromCqlVal<CqlValue> for Counter
impl FromCqlVal<CqlValue> for Counter
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
T14: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
T14: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
T14: FromCqlVal<Option<CqlValue>>,
T15: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
T14: FromCqlVal<Option<CqlValue>>,
T15: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
T14: FromCqlVal<Option<CqlValue>>,
T15: FromCqlVal<Option<CqlValue>>,
T16: FromCqlVal<Option<CqlValue>>,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> FromCqlVal<CqlValue> for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) where
T1: FromCqlVal<Option<CqlValue>>,
T2: FromCqlVal<Option<CqlValue>>,
T3: FromCqlVal<Option<CqlValue>>,
T4: FromCqlVal<Option<CqlValue>>,
T5: FromCqlVal<Option<CqlValue>>,
T6: FromCqlVal<Option<CqlValue>>,
T7: FromCqlVal<Option<CqlValue>>,
T8: FromCqlVal<Option<CqlValue>>,
T9: FromCqlVal<Option<CqlValue>>,
T10: FromCqlVal<Option<CqlValue>>,
T11: FromCqlVal<Option<CqlValue>>,
T12: FromCqlVal<Option<CqlValue>>,
T13: FromCqlVal<Option<CqlValue>>,
T14: FromCqlVal<Option<CqlValue>>,
T15: FromCqlVal<Option<CqlValue>>,
T16: FromCqlVal<Option<CqlValue>>,
fn from_cql(cql_val: CqlValue) -> Result<Self, FromCqlValError>
sourceimpl FromCqlVal<CqlValue> for i16
impl FromCqlVal<CqlValue> for i16
sourceimpl FromCqlVal<CqlValue> for BigInt
impl FromCqlVal<CqlValue> for BigInt
sourceimpl FromCqlVal<CqlValue> for i8
impl FromCqlVal<CqlValue> for i8
sourceimpl FromCqlVal<CqlValue> for NaiveDate
impl FromCqlVal<CqlValue> for NaiveDate
sourceimpl FromCqlVal<CqlValue> for f32
impl FromCqlVal<CqlValue> for f32
sourceimpl FromCqlVal<CqlValue> for f64
impl FromCqlVal<CqlValue> for f64
impl StructuralPartialEq for CqlValue
Auto Trait Implementations
impl RefUnwindSafe for CqlValue
impl Send for CqlValue
impl Sync for CqlValue
impl Unpin for CqlValue
impl UnwindSafe for CqlValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FromCqlVal<Option<CqlValue>> for T where
T: FromCqlVal<CqlValue>,
impl<T> FromCqlVal<Option<CqlValue>> for T where
T: FromCqlVal<CqlValue>,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more