pub struct LeafShardBlockInfo<'a> {
pub header: LeafShardHeader<'a>,
pub transactions_root: &'a Blake3Hash,
pub own_segments: Option<OwnSegments<'a>>,
}Expand description
Information about the leaf shard block container inside the intermediate shard block body
Fields§
§header: LeafShardHeader<'a>A block header that corresponds to a leaf shard
transactions_root: &'a Blake3HashRoot of transactions in the corresponding block
own_segments: Option<OwnSegments<'a>>Segments in the corresponding block
Trait Implementations§
Source§impl<'a> Clone for LeafShardBlockInfo<'a>
impl<'a> Clone for LeafShardBlockInfo<'a>
Auto Trait Implementations§
impl<'a> !Freeze for LeafShardBlockInfo<'a>
impl<'a> Forget for LeafShardBlockInfo<'a>
impl<'a> RefUnwindSafe for LeafShardBlockInfo<'a>
impl<'a> Send for LeafShardBlockInfo<'a>
impl<'a> Sync for LeafShardBlockInfo<'a>
impl<'a> Unpin for LeafShardBlockInfo<'a>
impl<'a> UnsafeUnpin for LeafShardBlockInfo<'a>
impl<'a> UnwindSafe for LeafShardBlockInfo<'a>
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<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 more