[][src]Struct sv::messages::Block

pub struct Block {
    pub header: BlockHeader,
    pub txns: Vec<Tx>,
}

Block of transactions

Fields

Block header

Block transactions

Methods

impl Block
[src]

Returns a set of the inputs spent in this block

Returns a map of the new outputs generated from this block including those spent within the block

Checks that the block is valid

Trait Implementations

impl Payload<Block> for Block
[src]

impl Serializable<Block> for Block
[src]

impl Clone for Block
[src]

Performs copy-assignment from source. Read more

impl Eq for Block
[src]

impl Default for Block
[src]

impl PartialEq<Block> for Block
[src]

impl Debug for Block
[src]

impl Hash for Block
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Block

impl Sync for Block

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self