Enum wql::Types[][src]

pub enum Types {
    Char(char),
    Integer(isize),
    String(String),
    Uuid(Uuid),
    Float(f64),
    Boolean(bool),
    Vector(Vec<Types>),
    Map(HashMap<String, Types>),
    Hash(String),
    Precise(String),
    Nil,
}

Variants

Char(char)
Integer(isize)
String(String)
Uuid(Uuid)
Float(f64)
Boolean(bool)
Vector(Vec<Types>)
Hash(String)
Precise(String)
Nil

Implementations

impl Types[src]

pub fn default_values(&self) -> Types[src]

pub fn to_hash(&self, cost: Option<u32>) -> Result<Types, String>[src]

pub fn is_hash(&self) -> bool[src]

Trait Implementations

impl Clone for Types[src]

impl Debug for Types[src]

impl<'de> Deserialize<'de> for Types[src]

impl Eq for Types[src]

impl PartialEq<Types> for Types[src]

impl PartialOrd<Types> for Types[src]

impl Serialize for Types[src]

impl StructuralPartialEq for Types[src]

Auto Trait Implementations

impl RefUnwindSafe for Types

impl Send for Types

impl Sync for Types

impl Unpin for Types

impl UnwindSafe for Types

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.