Enum serde_reflection::Value [−][src]
pub enum Value { }
Expand description
A structured Serde value. Meant to be easily recorded while tracing serialization and easily used while tracing deserialization.
Variants
Bool(bool)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
I128(i128)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
U128(u128)
F32(f32)
F64(f64)
Char(char)
Str(String)
Trait Implementations
impl<'de> IntoDeserializer<'de, Error> for &'de Value
[src]
impl<'de> IntoDeserializer<'de, Error> for &'de Value
[src]type Deserializer = Deserializer<'de>
type Deserializer = Deserializer<'de>
The type of the deserializer being converted into.
fn into_deserializer(self) -> Self::Deserializer
[src]
fn into_deserializer(self) -> Self::Deserializer
[src]Convert this value into a deserializer.
impl StructuralPartialEq for Value
[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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more