pub struct BlockBody<T> {
pub transactions: Vec<T>,
pub ommers: Vec<Header>,
pub withdrawals: Option<Withdrawals>,
}
Expand description
A response to GetBlockBodies
, containing bodies if any bodies were found.
Withdrawals can be optionally included at the end of the RLP encoded message.
Fields§
§transactions: Vec<T>
Transactions in this block.
ommers: Vec<Header>
Ommers/uncles header.
withdrawals: Option<Withdrawals>
Block withdrawals.
Trait Implementations§
impl<T: Eq> Eq for BlockBody<T>
impl<T> StructuralPartialEq for BlockBody<T>
Auto Trait Implementations§
impl<T> Freeze for BlockBody<T>
impl<T> RefUnwindSafe for BlockBody<T>where
T: RefUnwindSafe,
impl<T> Send for BlockBody<T>where
T: Send,
impl<T> Sync for BlockBody<T>where
T: Sync,
impl<T> Unpin for BlockBody<T>where
T: Unpin,
impl<T> UnwindSafe for BlockBody<T>where
T: UnwindSafe,
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
)