pub struct HtlcWitnessEntry {
pub input_index: usize,
pub witness: HtlcWitness,
}Expand description
One entry in the htlc_witnesses array — pair an input index with
its claim-or-refund witness.
Fields§
§input_index: usizeIndex into webcashes of the locked input.
witness: HtlcWitnessThe claim-or-refund witness.
Trait Implementations§
Source§impl Clone for HtlcWitnessEntry
impl Clone for HtlcWitnessEntry
Source§fn clone(&self) -> HtlcWitnessEntry
fn clone(&self) -> HtlcWitnessEntry
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 Debug for HtlcWitnessEntry
impl Debug for HtlcWitnessEntry
Source§impl<'de> Deserialize<'de> for HtlcWitnessEntry
impl<'de> Deserialize<'de> for HtlcWitnessEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HtlcWitnessEntry
impl PartialEq for HtlcWitnessEntry
Source§fn eq(&self, other: &HtlcWitnessEntry) -> bool
fn eq(&self, other: &HtlcWitnessEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HtlcWitnessEntry
impl Serialize for HtlcWitnessEntry
impl Eq for HtlcWitnessEntry
impl StructuralPartialEq for HtlcWitnessEntry
Auto Trait Implementations§
impl Freeze for HtlcWitnessEntry
impl RefUnwindSafe for HtlcWitnessEntry
impl Send for HtlcWitnessEntry
impl Sync for HtlcWitnessEntry
impl Unpin for HtlcWitnessEntry
impl UnsafeUnpin for HtlcWitnessEntry
impl UnwindSafe for HtlcWitnessEntry
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