Struct primitives::storage::StorageValue
source · pub struct StorageValue {
pub value: U256,
pub owner: Option<Address>,
}
Fields§
§value: U256
§owner: Option<Address>
Trait Implementations§
source§impl Clone for StorageValue
impl Clone for StorageValue
source§fn clone(&self) -> StorageValue
fn clone(&self) -> StorageValue
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 StorageValue
impl Debug for StorageValue
source§impl Decodable for StorageValue
impl Decodable for StorageValue
source§impl Default for StorageValue
impl Default for StorageValue
source§fn default() -> StorageValue
fn default() -> StorageValue
Returns the “default value” for a type. Read more
source§impl Encodable for StorageValue
impl Encodable for StorageValue
source§impl IsDefault for StorageValue
impl IsDefault for StorageValue
fn is_default(&self) -> bool
impl Copy for StorageValue
Auto Trait Implementations§
impl RefUnwindSafe for StorageValue
impl Send for StorageValue
impl Sync for StorageValue
impl Unpin for StorageValue
impl UnwindSafe for StorageValue
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