[−][src]Enum serde_token::Token
A token corresponding to one of the types defined in the Serde data model.
Variants
Bool(bool)
A serialized bool
.
I8(i8)
A serialized i8
.
I16(i16)
A serialized i16
.
I32(i32)
A serialized i32
.
I64(i64)
A serialized i64
.
I128(i128)
A serialized i128
.
U8(u8)
A serialized u8
.
U16(u16)
A serialized u16
.
U32(u32)
A serialized u32
.
U64(u64)
A serialized u64
.
U128(u128)
A serialized u128
.
F32(f32)
A serialized f32
.
F64(f64)
A serialized f64
.
Char(char)
A serialized char
.
Str(&'a str)
A borrowed str
.
Bytes(&'a [u8])
A borrowed [u8]
.
None
A serialized Option<T>
containing none.
Some
The header to a serialized Option<T>
containing some value.
Unit
A serialized ()
.
UnitStruct
A serialized unit struct of the given name.
Fields of UnitStruct
UnitVariant
A unit variant of an enum.
Fields of UnitVariant
NewtypeStruct
The header to a serialized newtype struct of the given name.
Fields of NewtypeStruct
NewtypeVariant
The header to a newtype variant of an enum.
Fields of NewtypeVariant
Seq
The header to a sequence.
Fields of Seq
SeqEnd
An indicator of the end of a sequence.
Tuple
The header to a tuple.
Fields of Tuple
TupleEnd
An indicator of the end of a tuple.
TupleStruct
The header to a tuple struct.
Fields of TupleStruct
TupleStructEnd
An indicator of the end of a tuple struct.
TupleVariant
The header to a tuple variant of an enum.
Fields of TupleVariant
TupleVariantEnd
An indicator of the end of a tuple variant.
Map
The header to a map.
Fields of Map
MapEnd
An indicator of the end of a map.
Struct
The header of a struct.
Fields of Struct
StructEnd
An indicator of the end of a struct.
StructVariant
The header of a struct variant of an enum.
Fields of StructVariant
StructVariantEnd
An indicator of the end of a struct variant.
Enum
The header to an enum of the given name.
Fields of Enum
Trait Implementations
impl<'a> PartialEq<Token<'a>> for Token<'a>
[src]
impl<'a> Clone for Token<'a>
[src]
fn clone(&self) -> Token<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for Token<'a>
[src]
Auto Trait Implementations
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,