Trait simd_json::value::prelude::ValueIntoContainer
source · pub trait ValueIntoContainer {
type Array;
type Object;
// Required methods
fn into_array(self) -> Option<Self::Array>;
fn into_object(self) -> Option<Self::Object>;
}
Expand description
A trait that specifies how to turn the Value into
it’s sub types
Required Associated Types§
Required Methods§
sourcefn into_array(self) -> Option<Self::Array>
fn into_array(self) -> Option<Self::Array>
Tries to turn the value into it’s array representation
sourcefn into_object(self) -> Option<Self::Object>
fn into_object(self) -> Option<Self::Object>
Tries to turn the value into it’s object representation