pub struct ExceptHandler {
pub type_: Option<Expression>,
pub name: Option<String>,
pub body: Vec<Statement>,
}Expand description
异常处理器
Fields§
§type_: Option<Expression>§name: Option<String>§body: Vec<Statement>Trait Implementations§
Source§impl Clone for ExceptHandler
impl Clone for ExceptHandler
Source§fn clone(&self) -> ExceptHandler
fn clone(&self) -> ExceptHandler
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 ExceptHandler
impl Debug for ExceptHandler
Source§impl<'de> Deserialize<'de> for ExceptHandler
impl<'de> Deserialize<'de> for ExceptHandler
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 ExceptHandler
impl PartialEq for ExceptHandler
Source§impl Serialize for ExceptHandler
impl Serialize for ExceptHandler
impl StructuralPartialEq for ExceptHandler
Auto Trait Implementations§
impl Freeze for ExceptHandler
impl RefUnwindSafe for ExceptHandler
impl Send for ExceptHandler
impl Sync for ExceptHandler
impl Unpin for ExceptHandler
impl UnwindSafe for ExceptHandler
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