pub struct L1InfoDepositSource {
pub l1_block_hash: B256,
pub seq_number: u64,
}
Expand description
A L1 info deposit transaction source.
Fields§
§l1_block_hash: B256
The L1 block hash.
seq_number: u64
The sequence number.
Implementations§
Source§impl L1InfoDepositSource
impl L1InfoDepositSource
Sourcepub const fn new(l1_block_hash: B256, seq_number: u64) -> Self
pub const fn new(l1_block_hash: B256, seq_number: u64) -> Self
Creates a new L1InfoDepositSource.
Sourcepub fn source_hash(&self) -> B256
pub fn source_hash(&self) -> B256
Returns the source hash.
Trait Implementations§
Source§impl Clone for L1InfoDepositSource
impl Clone for L1InfoDepositSource
Source§fn clone(&self) -> L1InfoDepositSource
fn clone(&self) -> L1InfoDepositSource
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 L1InfoDepositSource
impl Debug for L1InfoDepositSource
Source§impl Hash for L1InfoDepositSource
impl Hash for L1InfoDepositSource
Source§impl PartialEq for L1InfoDepositSource
impl PartialEq for L1InfoDepositSource
impl Copy for L1InfoDepositSource
impl Eq for L1InfoDepositSource
impl StructuralPartialEq for L1InfoDepositSource
Auto Trait Implementations§
impl Freeze for L1InfoDepositSource
impl RefUnwindSafe for L1InfoDepositSource
impl Send for L1InfoDepositSource
impl Sync for L1InfoDepositSource
impl Unpin for L1InfoDepositSource
impl UnwindSafe for L1InfoDepositSource
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)