pub struct ErrorDef {
pub name: Ident,
pub params: Vec<ErrorParam>,
pub span: Span,
}Fields§
§name: Ident§params: Vec<ErrorParam>§span: SpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorDef
impl<'de> Deserialize<'de> for ErrorDef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ErrorDef
Auto Trait Implementations§
impl Freeze for ErrorDef
impl RefUnwindSafe for ErrorDef
impl Send for ErrorDef
impl Sync for ErrorDef
impl Unpin for ErrorDef
impl UnwindSafe for ErrorDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more