Enum simd_json::value::owned::Value[][src]

pub enum Value {
    Static(StaticNode),
    String(String),
    Array(Vec<Value>),
    Object(Box<Object>),
}

Owned JSON-DOM Value, consider using the ValueTrait to access it’s content. This is slower then the BorrowedValue as a tradeoff for getting rid of lifetimes.

Variants

Static(StaticNode)

Static values

String(String)

string type

Array(Vec<Value>)

array type

Object(Box<Object>)

object type

Trait Implementations

impl<'input> Builder<'input> for Value[src]

impl Clone for Value[src]

impl Debug for Value[src]

impl Default for Value[src]

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

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

type Error = Error

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

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

type Error = Error

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

impl Display for Value[src]

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

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

impl From<()> for Value[src]

impl<'value> From<Cow<'value, str>> for Value[src]

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

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

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

impl From<StaticNode> for Value[src]

impl From<String> for Value[src]

impl From<Value<'_>> for Value[src]

impl<'value> From<Value> for Value<'value>[src]

impl<S> From<Vec<S, Global>> for Value where
    Value: From<S>, 
[src]

impl From<bool> for Value[src]

impl From<f32> for Value[src]

impl From<f64> for Value[src]

impl From<i16> for Value[src]

impl From<i32> for Value[src]

impl From<i64> for Value[src]

impl From<i8> for Value[src]

impl From<u16> for Value[src]

impl From<u32> for Value[src]

impl From<u64> for Value[src]

impl From<u8> for Value[src]

impl From<usize> for Value[src]

impl<K: ToString, V: Into<Value>> FromIterator<(K, V)> for Value[src]

impl<V: Into<Value>> FromIterator<V> for Value[src]

impl Index<&'_ str> for Value[src]

type Output = Self

The returned type after indexing.

impl Index<usize> for Value[src]

type Output = Self

The returned type after indexing.

impl IndexMut<&'_ str> for Value[src]

impl IndexMut<usize> for Value[src]

impl Mutable for Value[src]

impl<T> PartialEq<&'_ [T]> for Value where
    Value: PartialEq<T>, 
[src]

impl<T> PartialEq<&'_ T> for Value where
    Value: PartialEq<T>, 
[src]

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

impl PartialEq<()> for Value[src]

impl<K, T, S> PartialEq<HashMap<K, T, S>> for Value where
    K: AsRef<str> + Hash + Eq,
    Value: PartialEq<T>,
    S: BuildHasher
[src]

impl PartialEq<String> for Value[src]

impl PartialEq<Value<'_>> for Value[src]

impl<'value> PartialEq<Value> for Value<'value>[src]

impl PartialEq<Value> for Value[src]

impl PartialEq<bool> for Value[src]

impl PartialEq<f32> for Value[src]

impl PartialEq<f64> for Value[src]

impl PartialEq<i128> for Value[src]

impl PartialEq<i16> for Value[src]

impl PartialEq<i32> for Value[src]

impl PartialEq<i64> for Value[src]

impl PartialEq<i8> for Value[src]

impl PartialEq<str> for Value[src]

impl PartialEq<u128> for Value[src]

impl PartialEq<u16> for Value[src]

impl PartialEq<u32> for Value[src]

impl PartialEq<u64> for Value[src]

impl PartialEq<u8> for Value[src]

impl PartialEq<usize> for Value[src]

impl Serialize for Value[src]

impl TryFrom<Value> for OwnedValue[src]

type Error = SerdeConversionError

The type returned in the event of a conversion error.

impl TryInto<Value> for OwnedValue[src]

type Error = SerdeConversionError

The type returned in the event of a conversion error.

impl Value for Value[src]

impl ValueAccess for Value[src]

type Target = Value

The target for nested lookups

type Key = String

The type for Objects

type Array = Vec<Self>

The array structure

type Object = HashMap<Self::Key, Self>

The object structure

impl Writable for Value[src]

Auto Trait Implementations

impl RefUnwindSafe for Value

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl UnwindSafe for Value

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.