pub struct ExceptionDefinition {
pub name: String,
pub fields: Vec<RecordField>,
pub span: Range<usize>,
}Expand description
Exception definition
Fields§
§name: StringException name
fields: Vec<RecordField>Fields
span: Range<usize>Source span
Trait Implementations§
Source§impl Clone for ExceptionDefinition
impl Clone for ExceptionDefinition
Source§fn clone(&self) -> ExceptionDefinition
fn clone(&self) -> ExceptionDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExceptionDefinition
impl Debug for ExceptionDefinition
Source§impl<'de> Deserialize<'de> for ExceptionDefinition
impl<'de> Deserialize<'de> for ExceptionDefinition
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
Source§impl PartialEq for ExceptionDefinition
impl PartialEq for ExceptionDefinition
Source§impl Serialize for ExceptionDefinition
impl Serialize for ExceptionDefinition
impl StructuralPartialEq for ExceptionDefinition
Auto Trait Implementations§
impl Freeze for ExceptionDefinition
impl RefUnwindSafe for ExceptionDefinition
impl Send for ExceptionDefinition
impl Sync for ExceptionDefinition
impl Unpin for ExceptionDefinition
impl UnsafeUnpin for ExceptionDefinition
impl UnwindSafe for ExceptionDefinition
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