pub struct ExecutionPayloadInputV2 {
pub execution_payload: ExecutionPayloadV1,
pub withdrawals: Option<Vec<Withdrawal>>,
}Expand description
This is the input to engine_newPayloadV2, which may or may not have a withdrawals field.
Fields§
§execution_payload: ExecutionPayloadV1The V1 execution payload
withdrawals: Option<Vec<Withdrawal>>The payload withdrawals
Implementations§
Source§impl ExecutionPayloadInputV2
impl ExecutionPayloadInputV2
Sourcepub fn into_payload(self) -> ExecutionPayload
pub fn into_payload(self) -> ExecutionPayload
Converts ExecutionPayloadInputV2 to ExecutionPayload
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for ExecutionPayloadInputV2
Available on crate features arbitrary only.
impl<'arbitrary> Arbitrary<'arbitrary> for ExecutionPayloadInputV2
Available on crate features
arbitrary only.Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for ExecutionPayloadInputV2
impl Clone for ExecutionPayloadInputV2
Source§fn clone(&self) -> ExecutionPayloadInputV2
fn clone(&self) -> ExecutionPayloadInputV2
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 moreSource§impl Debug for ExecutionPayloadInputV2
impl Debug for ExecutionPayloadInputV2
Source§impl<'de> Deserialize<'de> for ExecutionPayloadInputV2
Available on crate feature serde only.
impl<'de> Deserialize<'de> for ExecutionPayloadInputV2
Available on crate feature
serde only.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 Encode for ExecutionPayloadInputV2
Available on crate feature ssz only.
impl Encode for ExecutionPayloadInputV2
Available on crate feature
ssz only.Source§fn is_ssz_fixed_len() -> bool
fn is_ssz_fixed_len() -> bool
Returns
true if this object has a fixed-length. Read moreSource§fn ssz_fixed_len() -> usize
fn ssz_fixed_len() -> usize
The number of bytes this object occupies in the fixed-length portion of the SSZ bytes. Read more
Source§fn ssz_bytes_len(&self) -> usize
fn ssz_bytes_len(&self) -> usize
Returns the size (in bytes) when
self is serialized. Read moreimpl Eq for ExecutionPayloadInputV2
Source§impl From<ExecutionPayloadInputV2> for ExecutionPayload
impl From<ExecutionPayloadInputV2> for ExecutionPayload
Source§fn from(input: ExecutionPayloadInputV2) -> Self
fn from(input: ExecutionPayloadInputV2) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecutionPayloadInputV2
impl PartialEq for ExecutionPayloadInputV2
Source§impl Serialize for ExecutionPayloadInputV2
Available on crate feature serde only.
impl Serialize for ExecutionPayloadInputV2
Available on crate feature
serde only.impl StructuralPartialEq for ExecutionPayloadInputV2
Auto Trait Implementations§
impl !Freeze for ExecutionPayloadInputV2
impl RefUnwindSafe for ExecutionPayloadInputV2
impl Send for ExecutionPayloadInputV2
impl Sync for ExecutionPayloadInputV2
impl Unpin for ExecutionPayloadInputV2
impl UnsafeUnpin for ExecutionPayloadInputV2
impl UnwindSafe for ExecutionPayloadInputV2
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
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: 584 bytes