pub struct ValueAccessor<'a>(_);
Expand description

A value accessor

Implementations§

Returns true if the value is null, otherwise returns false

Returns the boolean

Returns the enum name

Returns the number as i64

Returns the number as u64

Returns the number as f32

Returns the number as f64

Returns the string value

Returns the object accessor

Returns the list accessor

Deserialize the value to T

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.