pub struct L1Header {
pub kind: u8,
pub block_number: u64,
pub timestamp: u64,
pub request_id: Option<FixedBytes<32>>,
pub base_fee_l1: Option<U256>,
pub poster: Address,
pub delayed_messages_read: u64,
}Fields§
§kind: u8§block_number: u64§timestamp: u64§request_id: Option<FixedBytes<32>>§base_fee_l1: Option<U256>§poster: Address§delayed_messages_read: u64Implementations§
Trait Implementations§
impl Eq for L1Header
impl StructuralPartialEq for L1Header
Auto Trait Implementations§
impl Freeze for L1Header
impl RefUnwindSafe for L1Header
impl Send for L1Header
impl Sync for L1Header
impl Unpin for L1Header
impl UnsafeUnpin for L1Header
impl UnwindSafe for L1Header
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.