pub struct getSlotReturn {
pub value: FixedBytes<32>,
}Expand description
@notice Reads a single storage slot.
@param slot The slot number to read.
@return value The 32-byte value stored at the slot.
Container type for the return parameters of the getSlot(uint256) function.
Fields§
§value: FixedBytes<32>Trait Implementations§
Source§impl Clone for getSlotReturn
impl Clone for getSlotReturn
Source§fn clone(&self) -> getSlotReturn
fn clone(&self) -> getSlotReturn
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 getSlotReturn
impl RefUnwindSafe for getSlotReturn
impl Send for getSlotReturn
impl Sync for getSlotReturn
impl Unpin for getSlotReturn
impl UnsafeUnpin for getSlotReturn
impl UnwindSafe for getSlotReturn
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