Struct tea_sdk::serde::error::UnexpectedType
pub struct UnexpectedType(pub String);
Tuple Fields§
§0: String
Trait Implementations§
§impl Debug for UnexpectedType
impl Debug for UnexpectedType
§impl Descriptor<UnexpectedType> for Global
impl Descriptor<UnexpectedType> for Global
fn name<'a>(_: &'a UnexpectedType) -> Option<Cow<'a, str>>
fn summary<'a>(__value__: &'a UnexpectedType) -> Option<Cow<'a, str>>
fn detail<'a>(__value__: &'a UnexpectedType) -> Option<Cow<'a, str>>
fn type_id<'a>(_: &'a UnexpectedType) -> Option<TypeId>
fn inner(v: &T) -> Option<SmallVec<[&Error<()>; 1]>>
§impl Display for UnexpectedType
impl Display for UnexpectedType
§impl Error for UnexpectedType
impl Error for UnexpectedType
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()