Enum deslite::Value[][src]

pub enum Value {
    Int(i64),
    Uint(u64),
    Float(f64),
    String(String),
    Bytes(Vec<u8>),
    Null,
}

Variants

Trait Implementations

impl From<u64> for Value
[src]

Performs the conversion.

impl From<f64> for Value
[src]

Performs the conversion.

impl From<String> for Value
[src]

Performs the conversion.

impl<'a> From<&'a str> for Value
[src]

Performs the conversion.

impl<T> From<Option<T>> for Value where
    Value: From<T>, 
[src]

Performs the conversion.

impl From<Value> for usize
[src]

Performs the conversion.

impl From<Value> for u64
[src]

Performs the conversion.

impl From<Value> for u32
[src]

Performs the conversion.

impl From<Value> for i64
[src]

Performs the conversion.

impl From<Value> for i32
[src]

Performs the conversion.

impl From<Value> for String
[src]

Performs the conversion.

impl From<Value> for Option<u64>
[src]

Performs the conversion.

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Value

impl Sync for Value