Struct lnp::channel::TxGraph[][src]

pub struct TxGraph {
    pub cmt_version: i32,
    pub cmt_locktime: u32,
    pub cmt_sequence: u32,
    pub cmt_outs: Vec<TxOut>,
    // some fields omitted
}

Fields

cmt_version: i32cmt_locktime: u32cmt_sequence: u32cmt_outs: Vec<TxOut>

Implementations

Method borrowing TxGraph::funding_parties field.

Method borrowing TxGraph::funding_threshold field.

Method borrowing TxGraph::funding_tx field.

Method borrowing TxGraph::funding_outpoint field.

Method borrowing TxGraph::commitment_outpoint field.

Method borrowing TxGraph::cmt_version field.

Method borrowing TxGraph::cmt_locktime field.

Method borrowing TxGraph::cmt_sequence field.

Method borrowing TxGraph::cmt_outs field.

Method borrowing TxGraph::graph field.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Decode with the given std::io::Read instance; must either construct an instance or return implementation-specific error type. Read more

Tries to deserialize byte array into the current type using StrictDecode::strict_decode Read more

Encode with the given std::io::Write instance; must return result with either amount of bytes encoded – or implementation-specific error type. Read more

Serializes data as a byte array using StrictEncode::strict_encode function Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.