Struct primitives::receipt::StorageChange
source · pub struct StorageChange {
pub address: Address,
pub collaterals: U64,
}
Fields§
§address: Address
§collaterals: U64
Number of storage collateral units to deposit / refund (absolute value).
Trait Implementations§
source§impl Clone for StorageChange
impl Clone for StorageChange
source§fn clone(&self) -> StorageChange
fn clone(&self) -> StorageChange
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 StorageChange
impl Debug for StorageChange
source§impl Decodable for StorageChange
impl Decodable for StorageChange
source§impl Encodable for StorageChange
impl Encodable for StorageChange
source§impl MallocSizeOf for StorageChange
impl MallocSizeOf for StorageChange
source§impl PartialEq for StorageChange
impl PartialEq for StorageChange
source§fn eq(&self, other: &StorageChange) -> bool
fn eq(&self, other: &StorageChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StorageChange
impl StructuralPartialEq for StorageChange
Auto Trait Implementations§
impl RefUnwindSafe for StorageChange
impl Send for StorageChange
impl Sync for StorageChange
impl Unpin for StorageChange
impl UnwindSafe for StorageChange
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