pub struct MockStorageContext {
pub id: u32,
/* private fields */
}Expand description
Mock storage context for simulating storage operations
Fields§
§id: u32Implementations§
Trait Implementations§
Source§impl Clone for MockStorageContext
impl Clone for MockStorageContext
Source§fn clone(&self) -> MockStorageContext
fn clone(&self) -> MockStorageContext
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 moreAuto Trait Implementations§
impl Freeze for MockStorageContext
impl RefUnwindSafe for MockStorageContext
impl Send for MockStorageContext
impl Sync for MockStorageContext
impl Unpin for MockStorageContext
impl UnsafeUnpin for MockStorageContext
impl UnwindSafe for MockStorageContext
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