Enum serde_value::Unexpected [] [src]

pub enum Unexpected {
    Bool(bool),
    Unsigned(u64),
    Signed(i64),
    Float(f64),
    Char(char),
    Str(String),
    Bytes(Vec<u8>),
    Unit,
    Option,
    NewtypeStruct,
    Seq,
    Map,
    Enum,
    UnitVariant,
    NewtypeVariant,
    TupleVariant,
    StructVariant,
    Other(String),
}

Variants

Methods

impl Unexpected
[src]

Trait Implementations

impl Debug for Unexpected
[src]

Formats the value using the given formatter.

impl<'a> From<Unexpected<'a>> for Unexpected
[src]

Performs the conversion.