[−][src]Enum serde::de::Type
Type
represents all the primitive types that can be deserialized. This is used by
Error::invalid_type
.
Variants
Represents a bool
type.
Represents a usize
type.
Represents a u8
type.
Represents a u16
type.
Represents a u32
type.
Represents a u64
type.
Represents a isize
type.
Represents a i8
type.
Represents a i16
type.
Represents a i32
type.
Represents a i64
type.
Represents a f32
type.
Represents a f64
type.
Represents a char
type.
Represents a &str
type.
Represents a String
type.
Represents a ()
type.
Represents an Option<T>
type.
Represents a sequence type.
Represents a map type.
Represents a unit struct type.
Represents a newtype type.
Represents a tuple struct type.
Represents a struct type.
Represents a struct field name.
Represents a tuple type.
Represents an enum
type.
Represents an enum variant name.
Represents a struct variant.
Represents a tuple variant.
Represents a unit variant.
Represents a &[u8]
type.
Trait Implementations
impl Clone for Type
[src]
impl Copy for Type
[src]
impl Debug for Type
[src]
impl Display for Type
[src]
impl Eq for Type
[src]
impl PartialEq<Type> for Type
[src]
impl StructuralEq for Type
[src]
impl StructuralPartialEq for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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>,