pub struct ValidateCommitmentTx2 {
pub commitment_number: u64,
pub feerate: u32,
pub to_local_value_sat: u64,
pub to_remote_value_sat: u64,
pub htlcs: Array<Htlc>,
pub signature: BitcoinSignature,
pub htlc_signatures: Array<BitcoinSignature>,
}Expand description
LDK only
Fields§
§commitment_number: u64§feerate: u32§to_local_value_sat: u64§to_remote_value_sat: u64§htlcs: Array<Htlc>§signature: BitcoinSignature§htlc_signatures: Array<BitcoinSignature>Trait Implementations§
Source§impl Clone for ValidateCommitmentTx2
impl Clone for ValidateCommitmentTx2
Source§fn clone(&self) -> ValidateCommitmentTx2
fn clone(&self) -> ValidateCommitmentTx2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DeBolt for ValidateCommitmentTx2
impl DeBolt for ValidateCommitmentTx2
Source§impl Debug for ValidateCommitmentTx2
impl Debug for ValidateCommitmentTx2
Source§impl Decodable for ValidateCommitmentTx2
impl Decodable for ValidateCommitmentTx2
Source§impl Encodable for ValidateCommitmentTx2
impl Encodable for ValidateCommitmentTx2
Auto Trait Implementations§
impl Freeze for ValidateCommitmentTx2
impl RefUnwindSafe for ValidateCommitmentTx2
impl Send for ValidateCommitmentTx2
impl Sync for ValidateCommitmentTx2
impl Unpin for ValidateCommitmentTx2
impl UnsafeUnpin for ValidateCommitmentTx2
impl UnwindSafe for ValidateCommitmentTx2
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for T
impl<T> Downcast for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more