pub struct ServerHtlcSendVtxoPolicy {
pub user_pubkey: PublicKey,
pub payment_hash: PaymentHash,
pub htlc_expiry: BlockHeight,
}Fields§
§user_pubkey: PublicKey§payment_hash: PaymentHash§htlc_expiry: BlockHeightTrait Implementations§
Source§impl Clone for ServerHtlcSendVtxoPolicy
impl Clone for ServerHtlcSendVtxoPolicy
Source§fn clone(&self) -> ServerHtlcSendVtxoPolicy
fn clone(&self) -> ServerHtlcSendVtxoPolicy
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 ServerHtlcSendVtxoPolicy
impl Debug for ServerHtlcSendVtxoPolicy
Source§impl From<ServerHtlcSendVtxoPolicy> for VtxoPolicy
impl From<ServerHtlcSendVtxoPolicy> for VtxoPolicy
Source§fn from(policy: ServerHtlcSendVtxoPolicy) -> Self
fn from(policy: ServerHtlcSendVtxoPolicy) -> Self
Converts to this type from the input type.
Source§impl Hash for ServerHtlcSendVtxoPolicy
impl Hash for ServerHtlcSendVtxoPolicy
Source§impl Ord for ServerHtlcSendVtxoPolicy
impl Ord for ServerHtlcSendVtxoPolicy
Source§fn cmp(&self, other: &ServerHtlcSendVtxoPolicy) -> Ordering
fn cmp(&self, other: &ServerHtlcSendVtxoPolicy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ServerHtlcSendVtxoPolicy
impl PartialEq for ServerHtlcSendVtxoPolicy
Source§impl PartialOrd for ServerHtlcSendVtxoPolicy
impl PartialOrd for ServerHtlcSendVtxoPolicy
impl Eq for ServerHtlcSendVtxoPolicy
impl StructuralPartialEq for ServerHtlcSendVtxoPolicy
Auto Trait Implementations§
impl Freeze for ServerHtlcSendVtxoPolicy
impl RefUnwindSafe for ServerHtlcSendVtxoPolicy
impl Send for ServerHtlcSendVtxoPolicy
impl Sync for ServerHtlcSendVtxoPolicy
impl Unpin for ServerHtlcSendVtxoPolicy
impl UnwindSafe for ServerHtlcSendVtxoPolicy
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