pub struct StorageRef {
pub path: String,
pub slot: Word,
pub offset: u64,
pub type_id: String,
}Expand description
A resolved place in storage: what a path names.
Fields§
§path: StringThe path as resolved, such as balances[0xabc].
slot: Word§offset: u64§type_id: StringTrait Implementations§
Source§impl Clone for StorageRef
impl Clone for StorageRef
Source§fn clone(&self) -> StorageRef
fn clone(&self) -> StorageRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StorageRef
impl Debug for StorageRef
impl Eq for StorageRef
Source§impl PartialEq for StorageRef
impl PartialEq for StorageRef
impl StructuralPartialEq for StorageRef
Auto Trait Implementations§
impl Freeze for StorageRef
impl RefUnwindSafe for StorageRef
impl Send for StorageRef
impl Sync for StorageRef
impl Unpin for StorageRef
impl UnsafeUnpin for StorageRef
impl UnwindSafe for StorageRef
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