Struct tr1pd::blocks::InitBlock
[−]
[src]
pub struct InitBlock { /* fields omitted */ }
Methods
impl InitBlock
[src]
fn new(prev: BlockPointer, keyring: &mut SignRing) -> InitBlock
[src]
fn from_network(prev: BlockPointer, pubkey: PublicKey) -> InnerBlock
[src]
fn prev(&self) -> &BlockPointer
[src]
fn pubkey(&self) -> &PublicKey
[src]
Trait Implementations
impl Debug for InitBlock
[src]
impl Clone for InitBlock
[src]
fn clone(&self) -> InitBlock
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for InitBlock
[src]
fn eq(&self, __arg_0: &InitBlock) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InitBlock) -> bool
[src]
This method tests for !=
.