pub enum SerdeLiteral {
}
Variants§
Unit
Bool(bool)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
I128(i128)
Isize(isize)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
U128(u128)
Usize(usize)
F32(f32)
F64(f64)
Char(char)
String(String)
Trait Implementations§
source§impl Clone for SerdeLiteral
impl Clone for SerdeLiteral
source§fn clone(&self) -> SerdeLiteral
fn clone(&self) -> SerdeLiteral
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SerdeLiteral
impl Debug for SerdeLiteral
source§impl<'de> Deserialize<'de> for SerdeLiteral
impl<'de> Deserialize<'de> for SerdeLiteral
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SerdeLiteral
impl PartialEq for SerdeLiteral
source§fn eq(&self, other: &SerdeLiteral) -> bool
fn eq(&self, other: &SerdeLiteral) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SerdeLiteral
impl Serialize for SerdeLiteral
impl StructuralPartialEq for SerdeLiteral
Auto Trait Implementations§
impl Freeze for SerdeLiteral
impl RefUnwindSafe for SerdeLiteral
impl Send for SerdeLiteral
impl Sync for SerdeLiteral
impl Unpin for SerdeLiteral
impl UnwindSafe for SerdeLiteral
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more