pub struct ThrowStatement {
pub error_number: Option<Box<Expr>>,
pub message: Option<Box<Expr>>,
pub state: Option<Box<Expr>>,
}Expand description
Fields§
§error_number: Option<Box<Expr>>Error number expression.
message: Option<Box<Expr>>Error message expression.
state: Option<Box<Expr>>State expression.
Trait Implementations§
Source§impl Clone for ThrowStatement
impl Clone for ThrowStatement
Source§fn clone(&self) -> ThrowStatement
fn clone(&self) -> ThrowStatement
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 ThrowStatement
impl Debug for ThrowStatement
Source§impl<'de> Deserialize<'de> for ThrowStatement
impl<'de> Deserialize<'de> for ThrowStatement
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 Display for ThrowStatement
impl Display for ThrowStatement
Source§impl From<ThrowStatement> for Statement
impl From<ThrowStatement> for Statement
Source§fn from(t: ThrowStatement) -> Self
fn from(t: ThrowStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for ThrowStatement
impl Hash for ThrowStatement
Source§impl Ord for ThrowStatement
impl Ord for ThrowStatement
Source§fn cmp(&self, other: &ThrowStatement) -> Ordering
fn cmp(&self, other: &ThrowStatement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThrowStatement
impl PartialEq for ThrowStatement
Source§impl PartialOrd for ThrowStatement
impl PartialOrd for ThrowStatement
Source§impl Serialize for ThrowStatement
impl Serialize for ThrowStatement
Source§impl Visit for ThrowStatement
impl Visit for ThrowStatement
Source§impl VisitMut for ThrowStatement
impl VisitMut for ThrowStatement
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for ThrowStatement
impl StructuralPartialEq for ThrowStatement
Auto Trait Implementations§
impl Freeze for ThrowStatement
impl RefUnwindSafe for ThrowStatement
impl Send for ThrowStatement
impl Sync for ThrowStatement
impl Unpin for ThrowStatement
impl UnsafeUnpin for ThrowStatement
impl UnwindSafe for ThrowStatement
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