Struct foxbox_taxonomy::values::TypeError [] [src]

pub struct TypeError {
    pub expected: Type,
    pub got: Type,
}

Representation of a type error.

Fields

expected

The type we expected.

got

The type we actually got.

Trait Implementations

impl Deserialize for TypeError

fn deserialize<__D>(deserializer: &mut __D) -> Result<TypeError, __D::Error> where __D: Deserializer

impl Serialize for TypeError

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

impl Display for TypeError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for TypeError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Clone for TypeError

fn clone(&self) -> TypeError

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for TypeError

fn fmt(&self, __arg_0: &mut Formatter) -> Result