pub enum Content<'de> {
Show 22 variants
Bool(bool),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Char(char),
String(String),
Str(&'de str),
ByteBuf(Vec<u8>),
Bytes(&'de [u8]),
None,
Some(Box<Content<'de>>),
Unit,
Newtype(Box<Content<'de>>),
Seq(Vec<Content<'de>>),
Map(Vec<(Content<'de>, Content<'de>)>),
}
Variants§
Bool(bool)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
Char(char)
String(String)
Str(&'de str)
ByteBuf(Vec<u8>)
Bytes(&'de [u8])
None
Some(Box<Content<'de>>)
Unit
Newtype(Box<Content<'de>>)
Seq(Vec<Content<'de>>)
Map(Vec<(Content<'de>, Content<'de>)>)
Auto Trait Implementations§
impl<'de> Freeze for Content<'de>
impl<'de> RefUnwindSafe for Content<'de>
impl<'de> Send for Content<'de>
impl<'de> Sync for Content<'de>
impl<'de> Unpin for Content<'de>
impl<'de> UnwindSafe for Content<'de>
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