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 RevokeAndACK 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: CommitmentSignedA commitment_signed message which should be sent
Trait Implementations§
Source§impl Clone for CommitmentUpdate
impl Clone for CommitmentUpdate
Source§fn clone(&self) -> CommitmentUpdate
fn clone(&self) -> CommitmentUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitmentUpdate
impl Debug for CommitmentUpdate
Source§impl Hash for CommitmentUpdate
impl Hash for CommitmentUpdate
Source§impl PartialEq for CommitmentUpdate
impl PartialEq for CommitmentUpdate
impl Eq for CommitmentUpdate
impl StructuralPartialEq for CommitmentUpdate
Auto Trait Implementations§
impl Freeze for CommitmentUpdate
impl RefUnwindSafe for CommitmentUpdate
impl Send for CommitmentUpdate
impl Sync for CommitmentUpdate
impl Unpin for CommitmentUpdate
impl UnwindSafe for CommitmentUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more