Enum stdweb::Value [] [src]

pub enum Value {
    Undefined,
    Null,
    Bool(bool),
    Number(Number),
    String(String),
    Array(Array),
    Object(Object),
    Reference(Reference),
}

A type representing a JavaScript value.

This type implements a rich set of conversions from and into standard Rust types, for example:

let v1: Value = "Hello world!".into();
let v2: Value = true.into();
let v3: Value = vec![ 1, 2, 3 ].into();
let v4: Value = Null.into();
let v5: Value = 123_u64.try_into().unwrap();

let v1_r: String = v1.try_into().unwrap();
let v2_r: bool = v2.try_into().unwrap();
let v3_r: Vec< i32 > = v3.try_into().unwrap();
let v4_r: Option< String > = v4.try_into().unwrap(); // Will be `None`.
let v5_r: u64 = v5.try_into().unwrap();

Variants

Methods

impl Value
[src]

[src]

Checks whenever the Value is of the Reference variant.

[src]

Checks whenever the Value is of the Object variant.

[src]

Checks whenever the Value is of the Array variant.

[src]

Gets a reference to the Reference inside this Value.

[src]

Gets a reference to the Object inside this Value.

[src]

Gets a reference to the Array inside this Value.

[src]

Returns the Reference inside this Value.

[src]

Returns the Object inside this Value.

[src]

Returns the Array inside this Value.

[src]

Converts a Reference inside this Value into the given type T; doesn't check whenever the reference is really of type T.

In cases where the value is not a Reference a None is returned.

[src]

Returns the String inside this Value.

[src]

Returns a borrow of the string inside this Value.

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 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 Debug for Value
[src]

[src]

Formats the value using the given formatter.

impl AsRef<Value> for Value
[src]

[src]

Performs the conversion.

impl From<Undefined> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<Null> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<bool> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<String> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<char> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<'a, T> From<&'a Vec<T>> for Value where
    T: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a mut Vec<T>> for Value where
    T: JsSerializable, 
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<'a, T> From<&'a mut [T]> for Value where
    T: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<K, V> From<BTreeMap<K, V>> for Value where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a BTreeMap<K, V>> for Value where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a mut BTreeMap<K, V>> for Value where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<K, V> From<HashMap<K, V>> for Value where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a HashMap<K, V>> for Value where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a mut HashMap<K, V>> for Value where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl From<Reference> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<i8> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<i8> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<i16> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<i16> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<i32> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<i32> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<u8> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<u8> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<u16> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<u16> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<u32> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<u32> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<f32> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<f32> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<f64> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<f64> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Undefined> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a Undefined> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a mut Undefined> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Null> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a Null> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a mut Null> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<bool> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a bool> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a mut bool> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<String> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a String> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a mut String> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<char> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a char> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a mut char> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<T> TryFrom<Vec<T>> for Value where
    T: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a Vec<T>> for Value where
    T: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a mut Vec<T>> for Value where
    T: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a [T]> for Value where
    T: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a mut [T]> for Value where
    T: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<K, V> TryFrom<BTreeMap<K, V>> for Value where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a BTreeMap<K, V>> for Value where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a mut BTreeMap<K, V>> for Value where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<K, V> TryFrom<HashMap<K, V>> for Value where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a HashMap<K, V>> for Value where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a mut HashMap<K, V>> for Value where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<i64> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<u64> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<usize> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl PartialEq<Undefined> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<Null> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<bool> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<str> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<String> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<Number> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<T: AsRef<Reference>> PartialEq<T> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<Reference> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<i8> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a i8> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<i8> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<i16> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a i16> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<i16> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<i32> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a i32> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<i32> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<i64> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a i64> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<i64> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<u8> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a u8> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<u8> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<u16> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a u16> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<u16> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<u32> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a u32> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<u32> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<u64> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a u64> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<u64> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<usize> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a usize> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<usize> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<f32> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a f32> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<f32> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<f64> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a f64> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<f64> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a Undefined> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<Undefined> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a Null> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<Null> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a bool> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<bool> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

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

[src]

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

1.0.0
[src]

This method tests for !=.

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

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a String> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<String> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a Number> for Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<Number> for &'a Value
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Serialize for Value
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

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

The error type that can be returned if some error occurs during deserialization. Read more

[src]

Require the Deserializer to figure out how to drive the visitor based on what data type is in the input. Read more

[src]

Hint that the Deserialize type is expecting an optional value. Read more

[src]

Hint that the Deserialize type is expecting an enum value with a particular name and possible variants. Read more

[src]

Hint that the Deserialize type is expecting a newtype struct with a particular name. Read more

Hint that the Deserialize type is expecting a bool value.

Hint that the Deserialize type is expecting a u8 value.

Hint that the Deserialize type is expecting a u16 value.

Hint that the Deserialize type is expecting a u32 value.

Hint that the Deserialize type is expecting a u64 value.

Hint that the Deserialize type is expecting an i8 value.

Hint that the Deserialize type is expecting an i16 value.

Hint that the Deserialize type is expecting an i32 value.

Hint that the Deserialize type is expecting an i64 value.

Hint that the Deserialize type is expecting a f32 value.

Hint that the Deserialize type is expecting a f64 value.

Hint that the Deserialize type is expecting a char value.

Hint that the Deserialize type is expecting a string value and does not benefit from taking ownership of buffered data owned by the Deserializer. Read more

Hint that the Deserialize type is expecting a string value and would benefit from taking ownership of buffered data owned by the Deserializer. Read more

Hint that the Deserialize type is expecting a unit value.

Hint that the Deserialize type is expecting a sequence of values.

Hint that the Deserialize type is expecting a byte array and does not benefit from taking ownership of buffered data owned by the Deserializer. Read more

Hint that the Deserialize type is expecting a byte array and would benefit from taking ownership of buffered data owned by the Deserializer. Read more

Hint that the Deserialize type is expecting a map of key-value pairs.

Hint that the Deserialize type is expecting a unit struct with a particular name. Read more

Hint that the Deserialize type is expecting a tuple struct with a particular name and number of fields. Read more

Hint that the Deserialize type is expecting a struct with a particular name and fields. Read more

Hint that the Deserialize type is expecting the name of a struct field or the discriminant of an enum variant. Read more

Hint that the Deserialize type is expecting a sequence of values and knows how many values there are without looking at the serialized data. Read more

Hint that the Deserialize type needs to deserialize a value whose type doesn't matter because it is ignored. Read more

[src]

Determine whether Deserialize implementations should expect to deserialize their human-readable form. Read more

impl<T: Serialize> TryFrom<Serde<T>> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T: Serialize> TryFrom<&'a Serde<T>> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T: Serialize> TryFrom<&'a mut Serde<T>> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<JsonValue> for Value
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.