pub struct ContractChanges {
pub account: Address,
pub slots: HashMap<StoreKey, ContractStorageChange>,
pub native_balance: Option<Balance>,
}Fields§
§account: Address§slots: HashMap<StoreKey, ContractStorageChange>§native_balance: Option<Balance>Implementations§
Trait Implementations§
Source§impl Clone for ContractChanges
impl Clone for ContractChanges
Source§fn clone(&self) -> ContractChanges
fn clone(&self) -> ContractChanges
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 ContractChanges
impl Debug for ContractChanges
Source§impl DeepSizeOf for ContractChanges
impl DeepSizeOf for ContractChanges
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl Default for ContractChanges
impl Default for ContractChanges
Source§fn default() -> ContractChanges
fn default() -> ContractChanges
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContractChanges
impl PartialEq for ContractChanges
impl StructuralPartialEq for ContractChanges
Auto Trait Implementations§
impl !Freeze for ContractChanges
impl RefUnwindSafe for ContractChanges
impl Send for ContractChanges
impl Sync for ContractChanges
impl Unpin for ContractChanges
impl UnwindSafe for ContractChanges
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