pub struct SelfDestructAction {
pub space: Space,
pub address: Address,
pub balance: U256,
pub refund_address: Address,
}
Expand description
Represents a selfdestruct action fka suicide
.
Fields§
§space: Space
§address: Address
destroyed/suicided address.
balance: U256
Balance of the contract just before it was destroyed.
refund_address: Address
destroyed contract heir.
Implementations§
Trait Implementations§
Source§impl Clone for SelfDestructAction
impl Clone for SelfDestructAction
Source§fn clone(&self) -> SelfDestructAction
fn clone(&self) -> SelfDestructAction
Returns a copy 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 SelfDestructAction
impl Debug for SelfDestructAction
Source§impl Decodable for SelfDestructAction
impl Decodable for SelfDestructAction
Source§impl Encodable for SelfDestructAction
impl Encodable for SelfDestructAction
Source§impl PartialEq for SelfDestructAction
impl PartialEq for SelfDestructAction
Source§impl Serialize for SelfDestructAction
impl Serialize for SelfDestructAction
impl Copy for SelfDestructAction
impl Eq for SelfDestructAction
impl StructuralPartialEq for SelfDestructAction
Auto Trait Implementations§
impl Freeze for SelfDestructAction
impl RefUnwindSafe for SelfDestructAction
impl Send for SelfDestructAction
impl Sync for SelfDestructAction
impl Unpin for SelfDestructAction
impl UnwindSafe for SelfDestructAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.