pub struct SelfdestructStmt {
pub recipient: Expr,
pub span: Span,
}Fields§
§recipient: ExprThe recipient address to receive the rent
span: SpanTrait Implementations§
Source§impl Clone for SelfdestructStmt
impl Clone for SelfdestructStmt
Source§fn clone(&self) -> SelfdestructStmt
fn clone(&self) -> SelfdestructStmt
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 SelfdestructStmt
impl Debug for SelfdestructStmt
Source§impl<'de> Deserialize<'de> for SelfdestructStmt
impl<'de> Deserialize<'de> for SelfdestructStmt
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 SelfdestructStmt
impl PartialEq for SelfdestructStmt
Source§impl Serialize for SelfdestructStmt
impl Serialize for SelfdestructStmt
impl StructuralPartialEq for SelfdestructStmt
Auto Trait Implementations§
impl Freeze for SelfdestructStmt
impl RefUnwindSafe for SelfdestructStmt
impl Send for SelfdestructStmt
impl Sync for SelfdestructStmt
impl Unpin for SelfdestructStmt
impl UnwindSafe for SelfdestructStmt
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