Enum json_api::Value [] [src]

pub enum Value {
    Null,
    Array(Vec<Value>),
    Bool(bool),
    Number(Number),
    Object(Map<Key, Value>),
    String(String),
}

Variants

Trait Implementations

impl Clone for Value
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Value
[src]

[src]

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

[src]

This method tests for !=.

impl From<bool> for Value
[src]

[src]

Performs the conversion.

impl From<i8> for Value
[src]

[src]

Performs the conversion.

impl From<i16> for Value
[src]

[src]

Performs the conversion.

impl From<i32> for Value
[src]

[src]

Performs the conversion.

impl From<i64> for Value
[src]

[src]

Performs the conversion.

impl From<u8> for Value
[src]

[src]

Performs the conversion.

impl From<u16> for Value
[src]

[src]

Performs the conversion.

impl From<u32> for Value
[src]

[src]

Performs the conversion.

impl From<u64> for Value
[src]

[src]

Performs the conversion.

impl From<String> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<'a, T> From<&'a [T]> for Value where
    T: Clone + Into<Value>, 
[src]

[src]

Performs the conversion.

impl FromIterator<Value> for Value
[src]

[src]

Creates a value from an iterator. Read more

impl FromIterator<(Key, Value)> for Value
[src]

[src]

Creates a value from an iterator. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Value
[src]

[src]

Serialize this value into the given Serde serializer. Read more