Struct alloy_eips::eip4844::IndexedBlobHash
source · pub struct IndexedBlobHash {
pub index: u64,
pub hash: B256,
}
Expand description
A Blob hash
Fields§
§index: u64
The index of the blob
hash: B256
The hash of the blob
Trait Implementations§
source§impl Clone for IndexedBlobHash
impl Clone for IndexedBlobHash
source§fn clone(&self) -> IndexedBlobHash
fn clone(&self) -> IndexedBlobHash
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 IndexedBlobHash
impl Debug for IndexedBlobHash
source§impl Default for IndexedBlobHash
impl Default for IndexedBlobHash
source§fn default() -> IndexedBlobHash
fn default() -> IndexedBlobHash
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IndexedBlobHash
impl<'de> Deserialize<'de> for IndexedBlobHash
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for IndexedBlobHash
impl Hash for IndexedBlobHash
source§impl PartialEq for IndexedBlobHash
impl PartialEq for IndexedBlobHash
source§fn eq(&self, other: &IndexedBlobHash) -> bool
fn eq(&self, other: &IndexedBlobHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IndexedBlobHash
impl Serialize for IndexedBlobHash
impl Eq for IndexedBlobHash
impl StructuralPartialEq for IndexedBlobHash
Auto Trait Implementations§
impl Freeze for IndexedBlobHash
impl RefUnwindSafe for IndexedBlobHash
impl Send for IndexedBlobHash
impl Sync for IndexedBlobHash
impl Unpin for IndexedBlobHash
impl UnwindSafe for IndexedBlobHash
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.