[][src]Struct json_trait_rs::JsonMap

pub struct JsonMap<'json, T>(_)
where
    T: JsonType
;

Methods

impl<'json, T> JsonMap<'json, T> where
    T: JsonType
[src]

pub fn new(object: &'json T) -> Self[src]

Trait Implementations

impl<'json> JsonMapTrait<'json, RustType> for JsonMap<'json, RustType>[src]

fn keys(&'json self) -> Box<dyn ExactSizeIterator<Item = &str> + 'json>[src]

fn values(&'json self) -> Box<dyn ExactSizeIterator<Item = &T> + 'json>[src]

impl<'json> JsonMapTrait<'json, JsonValue> for JsonMap<'json, JsonValue>[src]

impl<'json> JsonMapTrait<'json, Value> for JsonMap<'json, Value>[src]

impl<'json> JsonMapTrait<'json, Value> for JsonMap<'json, Value>[src]

impl<'json, T> Deref for JsonMap<'json, T> where
    T: JsonType
[src]

type Target = T

The resulting type after dereferencing.

impl<'json, T: Debug> Debug for JsonMap<'json, T> where
    T: JsonType
[src]

Auto Trait Implementations

impl<'json, T> Send for JsonMap<'json, T>

impl<'json, T> Sync for JsonMap<'json, T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]