simd_json::value::prelude

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>