[][src]Enum foundationdb::tuple::Element

pub enum Element<'a> {
    Nil,
    Bytes(Bytes<'a>),
    String(Cow<'a, str>),
    Tuple(Vec<Element<'a>>),
    Int(i64),
    BigInt(BigInt),
    Float(f32),
    Double(f64),
    Bool(bool),
    Uuid(Uuid),
    Versionstamp(Versionstamp),
}

Variants

Nil
Bytes(Bytes<'a>)
String(Cow<'a, str>)
Tuple(Vec<Element<'a>>)
Int(i64)
BigInt(BigInt)
Float(f32)
Double(f64)
Bool(bool)
Uuid(Uuid)
Versionstamp(Versionstamp)

Implementations

impl<'a> Element<'a>[src]

pub fn into_owned(self) -> Element<'static>[src]

pub fn as_bytes(&self) -> Option<&Bytes<'_>>[src]

pub fn as_str(&self) -> Option<&str>[src]

pub fn as_tuple(&self) -> Option<&[Element<'a>]>[src]

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

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

pub fn as_f32(&self) -> Option<f32>[src]

pub fn as_f64(&self) -> Option<f64>[src]

pub fn as_bool(&self) -> Option<bool>[src]

pub fn as_uuid(&self) -> Option<&Uuid>[src]

pub fn as_versionstamp(&self) -> Option<&Versionstamp>[src]

impl<'a> Element<'a>[src]

pub fn count_incomplete_versionstamp(&self) -> usize[src]

Trait Implementations

impl<'a> Clone for Element<'a>[src]

impl<'a> Debug for Element<'a>[src]

impl<'a> Eq for Element<'a>[src]

impl<'a> Ord for Element<'a>[src]

impl<'a> PartialEq<Element<'a>> for Element<'a>[src]

impl<'a> PartialOrd<Element<'a>> for Element<'a>[src]

impl<'a> TuplePack for Element<'a>[src]

impl<'de> TupleUnpack<'de> for Element<'de>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Element<'a>

impl<'a> Send for Element<'a>

impl<'a> Sync for Element<'a>

impl<'a> Unpin for Element<'a>

impl<'a> UnwindSafe for Element<'a>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,