Enum scylla::frame::response::result::CqlValue [−][src]
pub enum CqlValue {
Show 25 variants
Ascii(String),
Boolean(bool),
Blob(Vec<u8>),
Counter(Counter),
Decimal(BigDecimal),
Date(u32),
Double(f64),
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)
Tuple Fields of Ascii
0: String
Boolean(bool)
Tuple Fields of Boolean
0: bool
Counter(Counter)
Tuple Fields of Counter
0: Counter
Decimal(BigDecimal)
Tuple Fields of Decimal
0: 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
Tuple Fields of Date
0: u32
Double(f64)
Tuple Fields of Double
0: f64
Float(f32)
Tuple Fields of Float
0: f32
Int(i32)
Tuple Fields of Int
0: i32
BigInt(i64)
Tuple Fields of BigInt
0: i64
Text(String)
Tuple Fields of Text
0: String
Timestamp(Duration)
Milliseconds since unix epoch
Tuple Fields of Timestamp
0: Duration
Inet(IpAddr)
Tuple Fields of Inet
0: IpAddr
Fields of UserDefinedType
SmallInt(i16)
Tuple Fields of SmallInt
0: i16
TinyInt(i8)
Tuple Fields of TinyInt
0: i8
Time(Duration)
Nanoseconds since midnight
Tuple Fields of Time
0: Duration
Timeuuid(Uuid)
Tuple Fields of Timeuuid
0: Uuid
Uuid(Uuid)
Tuple Fields of Uuid
0: Uuid
Varint(BigInt)
Tuple Fields of Varint
0: BigInt
Implementations
Trait Implementations
impl<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>
impl<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>>,
impl<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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
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>>,
Auto Trait Implementations
impl RefUnwindSafe for CqlValue
impl UnwindSafe for CqlValue
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more