Struct tr1pd::blocks::InfoBlock
[−]
[src]
pub struct InfoBlock { /* fields omitted */ }
Methods
impl InfoBlock
[src]
fn new(
prev: BlockPointer,
keyring: &mut SignRing,
bytes: Vec<u8>
) -> Signed<InfoBlock>
[src]
prev: BlockPointer,
keyring: &mut SignRing,
bytes: Vec<u8>
) -> Signed<InfoBlock>
fn from_network(
prev: BlockPointer,
bytes: Vec<u8>,
signature: Signature
) -> InnerBlock
[src]
prev: BlockPointer,
bytes: Vec<u8>,
signature: Signature
) -> InnerBlock
fn prev(&self) -> &BlockPointer
[src]
fn bytes(&self) -> &Vec<u8>
[src]
fn clone_bytes(&self) -> Vec<u8>
[src]
Trait Implementations
impl Debug for InfoBlock
[src]
impl Clone for InfoBlock
[src]
fn clone(&self) -> InfoBlock
[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 InfoBlock
[src]
fn eq(&self, __arg_0: &InfoBlock) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InfoBlock) -> bool
[src]
This method tests for !=
.