Struct messy_json::MessyJsonValueContainer[][src]

pub struct MessyJsonValueContainer<'a> { /* fields omitted */ }

Container for MessyJsonValue

This structure is a simple wrapper around MessyJsonValue.

In the future it may be used to hold additional data for optimization purposes.

Implementations

impl<'a> MessyJsonValueContainer<'a>[src]

pub fn new(val: MessyJsonValue<'a>) -> Self[src]

pub fn inner(&self) -> &MessyJsonValue<'a>[src]

Get the inner MessyJsonValue

pub fn take(self) -> MessyJsonValue<'a>[src]

Take the inner MessyJsonValue consuming the container

Trait Implementations

impl<'a> Clone for MessyJsonValueContainer<'a>[src]

impl<'a> Debug for MessyJsonValueContainer<'a>[src]

impl<'a> Deref for MessyJsonValueContainer<'a>[src]

type Target = MessyJsonValue<'a>

The resulting type after dereferencing.

impl<'a> Eq for MessyJsonValueContainer<'a>[src]

impl<'a> PartialEq<MessyJsonValueContainer<'a>> for MessyJsonValueContainer<'a>[src]

impl<'a> StructuralEq for MessyJsonValueContainer<'a>[src]

impl<'a> StructuralPartialEq for MessyJsonValueContainer<'a>[src]

Auto Trait Implementations

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> 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, 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.