pub struct Produced {
pub state_hash: Hash256,
pub receipts_hash: Hash256,
pub footer: Option<(u32, u64, u64)>,
pub statement: BlockStatement,
}Expand description
作るブロックを当てて求めた、ヘッダーに書くもの
Fields§
§state_hash: Hash256§receipts_hash: Hash256importance ブロックと Nemesis の足(投票できる数、ハーベストできる数、投票の残高の合計)。ほかのブロックは None
statement: BlockStatementAuto Trait Implementations§
impl Freeze for Produced
impl RefUnwindSafe for Produced
impl Send for Produced
impl Sync for Produced
impl Unpin for Produced
impl UnsafeUnpin for Produced
impl UnwindSafe for Produced
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> 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