Struct CommitmentUpdate
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: CommitmentSigned
A commitment_signed
message which should be sent
Trait Implementations§
§impl Clone for CommitmentUpdate
impl Clone for CommitmentUpdate
§fn clone(&self) -> CommitmentUpdate
fn clone(&self) -> CommitmentUpdate
Returns a copy 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 more§impl Debug for CommitmentUpdate
impl Debug for CommitmentUpdate
§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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request