[][src]Struct strason::object::Deserializer

pub struct Deserializer(_);

A "Json to whatever" deserializer

Methods

impl Deserializer[src]

pub fn new<T>(val: T) -> Deserializer where
    Json: From<T>, 
[src]

Creates a new deserializer from a Json value

Trait Implementations

impl<'de> Deserializer<'de> for Deserializer[src]

type Error = Error

The error type that can be returned if some error occurs during deserialization. Read more

fn deserialize_i128<V>(
    self,
    visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
    V: Visitor<'de>, 
[src]

Hint that the Deserialize type is expecting an i128 value. Read more

fn deserialize_u128<V>(
    self,
    visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
    V: Visitor<'de>, 
[src]

Hint that the Deserialize type is expecting an u128 value. Read more

Auto Trait Implementations

impl Unpin for Deserializer

impl Sync for Deserializer

impl Send for Deserializer

impl UnwindSafe for Deserializer

impl RefUnwindSafe for Deserializer

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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]