Struct lightning::ln::msgs::CommitmentUpdate[][src]

pub struct CommitmentUpdate {
    pub update_add_htlcs: Vec<UpdateAddHTLC>,
    pub update_fulfill_htlcs: Vec<UpdateFulfillHTLC>,
    pub update_fail_htlcs: Vec<UpdateFailHTLC>,
    pub update_fail_malformed_htlcs: Vec<UpdateFailMalformedHTLC>,
    pub update_fee: Option<UpdateFee>,
    pub commitment_signed: CommitmentSigned,
}
Expand description

Struct used to return values from revoke_and_ack messages, containing a bunch of commitment transaction updates if they were pending.

Fields

update_add_htlcs: Vec<UpdateAddHTLC>

update_add_htlc messages which should be sent

update_fulfill_htlcs: Vec<UpdateFulfillHTLC>

update_fulfill_htlc messages which should be sent

update_fail_htlcs: Vec<UpdateFailHTLC>

update_fail_htlc messages which should be sent

update_fail_malformed_htlcs: Vec<UpdateFailMalformedHTLC>

update_fail_malformed_htlc messages which should be sent

update_fee: Option<UpdateFee>

An update_fee message which should be sent

commitment_signed: CommitmentSigned

Finally, the commitment_signed message which should be sent

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for !=.

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.

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)

recently added

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.