[−][src]Enum path_value::Value
Variants
Integer(BigInt)Float(f64)Boolean(bool)String(String)Implementations
impl Value[src]
pub fn merge(&mut self, source: Value) -> Result<(), Error>[src]
pub fn set<P, IntoValue, IntoErr>(
&mut self,
path: P,
input_value: IntoValue
) -> Result<Value, IntoErr> where
P: TryInto<Path, Error = IntoErr>,
IntoValue: Into<Value>,
IntoErr: Into<Error>, [src]
&mut self,
path: P,
input_value: IntoValue
) -> Result<Value, IntoErr> where
P: TryInto<Path, Error = IntoErr>,
IntoValue: Into<Value>,
IntoErr: Into<Error>,
pub fn get<T, P, IntoErr>(&self, path: P) -> Result<Option<T>, IntoErr> where
T: TryFrom<Value, Error = IntoErr>,
P: TryInto<Path, Error = IntoErr>,
IntoErr: Into<Error>, [src]
T: TryFrom<Value, Error = IntoErr>,
P: TryInto<Path, Error = IntoErr>,
IntoErr: Into<Error>,
Trait Implementations
impl Clone for Value[src]
impl Debug for Value[src]
impl Default for Value[src]
impl<'de> Deserializer<'de> for Value[src]
type Error = Error
The error type that can be returned if some error occurs during deserialization. Read more
fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_bool<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>[src]
self,
visitor: V
) -> Result<V::Value, Error>
fn deserialize_i8<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_i16<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_i32<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_i64<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_u8<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_u16<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_u32<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_u64<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_f32<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_f64<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_str<V: Visitor<'de>>(self, visitor: V) -> Result<V::Value, Error>[src]
fn deserialize_string<V: Visitor<'de>>(
self,
visitor: V
) -> Result<V::Value, Error>[src]
self,
visitor: V
) -> Result<V::Value, Error>
fn deserialize_option<V>(self, visitor: V) -> Result<V::Value, Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_newtype_struct<V>(
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Error> where
V: Visitor<'de>, [src]
self,
_name: &'static str,
visitor: V
) -> Result<V::Value, Error> where
V: Visitor<'de>,
fn deserialize_enum<V>(
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error> where
V: Visitor<'de>, [src]
self,
name: &'static str,
variants: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error> where
V: Visitor<'de>,
fn deserialize_char<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_seq<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_bytes<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_byte_buf<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_map<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_struct<V>(
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_unit<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_identifier<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_ignored_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
V: Visitor<'de>,
fn deserialize_unit_struct<V>(
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
name: &'static str,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_tuple_struct<V>(
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
name: &'static str,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_tuple<V>(
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
len: usize,
visitor: V
) -> Result<V::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_i128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
fn deserialize_u128<V>(
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>, [src]
self,
visitor: V
) -> Result<<V as Visitor<'de>>::Value, Self::Error> where
V: Visitor<'de>,
fn is_human_readable(&self) -> bool[src]
impl Display for Value[src]
impl<'a> From<&'a str> for Value[src]
impl<T> From<HashMap<String, T, RandomState>> for Value where
T: Into<Value>, [src]
T: Into<Value>,
impl<T> From<Option<T>> for Value where
T: Into<Value>, [src]
T: Into<Value>,
impl From<String> for Value[src]
impl<T> From<Vec<T>> for Value where
T: Into<Value>, [src]
T: Into<Value>,
impl From<bool> for Value[src]
impl From<f32> for Value[src]
impl From<f64> for Value[src]
impl From<i16> for Value[src]
impl From<i32> for Value[src]
impl From<i64> for Value[src]
impl From<i8> for Value[src]
impl From<isize> for Value[src]
impl From<u16> for Value[src]
impl From<u32> for Value[src]
impl From<u64> for Value[src]
impl From<u8> for Value[src]
impl From<usize> for Value[src]
impl PartialEq<Value> for Value[src]
impl StructuralPartialEq for Value[src]
impl TryFrom<Value> for bool[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for i8[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for usize[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for f32[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for f64[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for String[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for Vec<Value>[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for HashMap<String, Value>[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for ()[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for i16[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for i32[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for i64[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for isize[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for u8[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for u16[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for u32[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Error>[src]
impl TryFrom<Value> for u64[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,