simd_json::value::prelude::base

Trait TypedValue

Source
pub trait TypedValue {
    // Required method
    fn value_type(&self) -> ValueType;
}
Expand description

Type information on a value

Required Methods§

Source

fn value_type(&self) -> ValueType

Gets the type of the current value

Implementations on Foreign Types§

Source§

impl<V> TypedValue for Option<V>
where V: TypedValue,

Source§

impl<V> TypedValue for &V
where V: TypedValue,

Source§

impl<V, E> TypedValue for Result<V, E>
where V: TypedValue,

Implementors§

Source§

impl TypedValue for StaticNode

Source§

impl TypedValue for simd_json::owned::Value

Source§

impl<'borrow, 'tape, 'input> TypedValue for simd_json::lazy::Value<'borrow, 'tape, 'input>

Source§

impl<'tape, 'input> TypedValue for simd_json::tape::Value<'tape, 'input>

Source§

impl<'value> TypedValue for simd_json::borrowed::Value<'value>