pub struct HtlcLockEntry {
pub output_index: usize,
pub request: HtlcLockRequest,
}Expand description
One entry in the htlc_locks array — pair an output index with the
lock parameters the server should stamp.
Fields§
§output_index: usizeIndex into new_webcashes of the output to lock.
request: HtlcLockRequestThe lock parameters the server stamps.
Trait Implementations§
Source§impl Clone for HtlcLockEntry
impl Clone for HtlcLockEntry
Source§fn clone(&self) -> HtlcLockEntry
fn clone(&self) -> HtlcLockEntry
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 HtlcLockEntry
impl Debug for HtlcLockEntry
Source§impl<'de> Deserialize<'de> for HtlcLockEntry
impl<'de> Deserialize<'de> for HtlcLockEntry
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 HtlcLockEntry
impl PartialEq for HtlcLockEntry
Source§impl Serialize for HtlcLockEntry
impl Serialize for HtlcLockEntry
impl Eq for HtlcLockEntry
impl StructuralPartialEq for HtlcLockEntry
Auto Trait Implementations§
impl Freeze for HtlcLockEntry
impl RefUnwindSafe for HtlcLockEntry
impl Send for HtlcLockEntry
impl Sync for HtlcLockEntry
impl Unpin for HtlcLockEntry
impl UnsafeUnpin for HtlcLockEntry
impl UnwindSafe for HtlcLockEntry
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