pub struct RevertStmt {
pub kind: RevertKind,
pub span: Span,
}Fields§
§kind: RevertKindEither a string message or a custom error
span: SpanTrait Implementations§
Source§impl Clone for RevertStmt
impl Clone for RevertStmt
Source§fn clone(&self) -> RevertStmt
fn clone(&self) -> RevertStmt
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 RevertStmt
impl Debug for RevertStmt
Source§impl<'de> Deserialize<'de> for RevertStmt
impl<'de> Deserialize<'de> for RevertStmt
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 RevertStmt
impl PartialEq for RevertStmt
Source§impl Serialize for RevertStmt
impl Serialize for RevertStmt
impl StructuralPartialEq for RevertStmt
Auto Trait Implementations§
impl Freeze for RevertStmt
impl RefUnwindSafe for RevertStmt
impl Send for RevertStmt
impl Sync for RevertStmt
impl Unpin for RevertStmt
impl UnwindSafe for RevertStmt
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