pub struct StorageValue {
pub value: B256,
pub provenance: Provenance,
pub set_at: u64,
pub index: BlockAccessIndex,
}Expand description
A stored word with where it came from and when it was set.
Fields§
§value: B256The 32-byte word.
provenance: ProvenanceBAL, proof, import, or unverified.
set_at: u64Block at which this value was set; watch start - 1 for a proven
pre-value.
index: BlockAccessIndexPosition within set_at (u32::MAX for proven pre-values).
Trait Implementations§
Source§impl Clone for StorageValue
impl Clone for StorageValue
Source§fn clone(&self) -> StorageValue
fn clone(&self) -> StorageValue
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 moreimpl Copy for StorageValue
Source§impl Debug for StorageValue
impl Debug for StorageValue
impl Eq for StorageValue
Source§impl PartialEq for StorageValue
impl PartialEq for StorageValue
impl StructuralPartialEq for StorageValue
Auto Trait Implementations§
impl Freeze for StorageValue
impl RefUnwindSafe for StorageValue
impl Send for StorageValue
impl Sync for StorageValue
impl Unpin for StorageValue
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more