Enum td_proto_rust::values::Value [] [src]

pub enum Value {
    Nil,
    U8(u8),
    I8(i8),
    U16(u16),
    I16(i16),
    U32(u32),
    I32(i32),
    Float(f32),
    Str(String),
    Raw(Vec<u8>),
    Map(HashMap<String, Value>),
    AU8(Vec<Value>),
    AI8(Vec<Value>),
    AU16(Vec<Value>),
    AI16(Vec<Value>),
    AU32(Vec<Value>),
    AI32(Vec<Value>),
    AFloat(Vec<Value>),
    AStr(Vec<Value>),
    ARaw(Vec<Value>),
    AMap(Vec<Value>),
}

Variants

Trait Implementations

impl PartialEq for Value
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

impl From<u8> for Value
[src]

Performs the conversion.

impl From<i8> for Value
[src]

Performs the conversion.

impl From<u16> for Value
[src]

Performs the conversion.

impl From<i16> for Value
[src]

Performs the conversion.

impl From<u32> for Value
[src]

Performs the conversion.

impl From<i32> for Value
[src]

Performs the conversion.

impl From<f32> for Value
[src]

Performs the conversion.

impl From<String> for Value
[src]

Performs the conversion.

impl From<Vec<u8>> for Value
[src]

Performs the conversion.

impl From<HashMap<String, Value>> for Value
[src]

Performs the conversion.

impl Into<u8> for Value
[src]

Performs the conversion.

impl Into<i8> for Value
[src]

Performs the conversion.

impl Into<u16> for Value
[src]

Performs the conversion.

impl Into<i16> for Value
[src]

Performs the conversion.

impl Into<u32> for Value
[src]

Performs the conversion.

impl Into<i32> for Value
[src]

Performs the conversion.

impl Into<f32> for Value
[src]

Performs the conversion.

impl Into<String> for Value
[src]

Performs the conversion.

impl Into<Vec<u8>> for Value
[src]

Performs the conversion.

impl Into<HashMap<String, Value>> for Value
[src]

Performs the conversion.