[][src]Enum restq::data_value::DataValue

pub enum DataValue {
    Nil,
    Bool(bool),
    S8(u8),
    S16(u16),
    S32(u32),
    S64(u64),
    F32(f32),
    F64(f64),
    U8(u8),
    U16(u16),
    U32(u32),
    U64(u64),
    I8(i8),
    I16(i16),
    I32(i32),
    I64(i64),
    Uuid(Uuid),
    UuidRand(Uuid),
    UuidSlug(String),
    Local(DateTime<Local>),
    Utc(DateTime<Utc>),
    Text(String),
    Ident(String),
    Url(Url),
    Bytes(Vec<u8>),
}

strict data value where each has exact byte definitions, etc.

Variants

Nil
Bool(bool)
S8(u8)
S16(u16)
S32(u32)
S64(u64)
F32(f32)
F64(f64)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
Uuid(Uuid)
UuidRand(Uuid)
UuidSlug(String)
Local(DateTime<Local>)
Text(String)
Ident(String)
Url(Url)
Bytes(Vec<u8>)

Implementations

impl DataValue[src]

Trait Implementations

impl Clone for DataValue[src]

impl Debug for DataValue[src]

impl Display for DataValue[src]

impl From<DataValue> for DefaultValue[src]

impl<'a> Into<&'a str> for &'a DataValue[src]

impl<'_> Into<Expr> for &'_ DataValue[src]

impl Into<String> for DataValue[src]

impl<'_> Into<Value> for &'_ DataValue[src]

impl<'_> Into<Value> for &'_ DataValue[src]

impl Into<f32> for DataValue[src]

impl Into<i64> for DataValue[src]

impl Into<u32> for DataValue[src]

impl Into<u64> for DataValue[src]

impl PartialEq<DataValue> for DataValue[src]

impl StructuralPartialEq for DataValue[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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>,