[][src]Enum scylla::frame::response::result::CQLValue

pub enum CQLValue {
    Ascii(String),
    Int(i32),
    BigInt(i64),
    Text(String),
    Inet(IpAddr),
    Set(Vec<CQLValue>),
}

Variants

Ascii(String)
Int(i32)
BigInt(i64)
Text(String)
Inet(IpAddr)
Set(Vec<CQLValue>)

Implementations

impl CQLValue[src]

pub fn as_ascii(&self) -> Option<&String>[src]

pub fn as_int(&self) -> Option<i32>[src]

pub fn as_bigint(&self) -> Option<i64>[src]

pub fn as_text(&self) -> Option<&String>[src]

pub fn into_string(self) -> Option<String>[src]

pub fn as_inet(&self) -> Option<IpAddr>[src]

pub fn as_set(&self) -> Option<&Vec<CQLValue>>[src]

pub fn into_vec(self) -> Option<Vec<CQLValue>>[src]

Trait Implementations

impl Debug for CQLValue[src]

impl FromCQLVal<CQLValue> for i32[src]

impl FromCQLVal<CQLValue> for i64[src]

impl FromCQLVal<CQLValue> for String[src]

impl FromCQLVal<CQLValue> for IpAddr[src]

impl<T: FromCQLVal<CQLValue>> FromCQLVal<CQLValue> for Vec<T>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]