pub struct OptimismPayloadAttributes {
pub payload_attributes: PayloadAttributes,
pub transactions: Option<Vec<Bytes>>,
pub no_tx_pool: Option<bool>,
pub gas_limit: Option<u64>,
pub eip_1559_params: Option<B64>,
}
Expand description
Optimism Payload Attributes
Fields§
§payload_attributes: PayloadAttributes
The payload attributes
transactions: Option<Vec<Bytes>>
Transactions is a field for rollups: the transactions list is forced into the block
no_tx_pool: Option<bool>
If true, the no transactions are taken out of the tx-pool, only transactions from the above Transactions list will be included.
gas_limit: Option<u64>
If set, this sets the exact gas limit the block produced with.
eip_1559_params: Option<B64>
If set, this sets the EIP-1559 parameters for the block.
Prior to Holocene activation, this field should always be None.
Trait Implementations§
source§impl Clone for OptimismPayloadAttributes
impl Clone for OptimismPayloadAttributes
source§fn clone(&self) -> OptimismPayloadAttributes
fn clone(&self) -> OptimismPayloadAttributes
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 OptimismPayloadAttributes
impl Debug for OptimismPayloadAttributes
source§impl<'de> Deserialize<'de> for OptimismPayloadAttributes
impl<'de> Deserialize<'de> for OptimismPayloadAttributes
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
impl Eq for OptimismPayloadAttributes
impl StructuralPartialEq for OptimismPayloadAttributes
Auto Trait Implementations§
impl Freeze for OptimismPayloadAttributes
impl RefUnwindSafe for OptimismPayloadAttributes
impl Send for OptimismPayloadAttributes
impl Sync for OptimismPayloadAttributes
impl Unpin for OptimismPayloadAttributes
impl UnwindSafe for OptimismPayloadAttributes
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
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 176 bytes