pub struct ServerHtlcRecvVtxoPolicy {
pub user_pubkey: PublicKey,
pub payment_hash: PaymentHash,
pub htlc_expiry_delta: BlockDelta,
pub htlc_expiry: BlockHeight,
}Fields§
§user_pubkey: PublicKey§payment_hash: PaymentHash§htlc_expiry_delta: BlockDelta§htlc_expiry: BlockHeightTrait Implementations§
Source§impl Clone for ServerHtlcRecvVtxoPolicy
impl Clone for ServerHtlcRecvVtxoPolicy
Source§fn clone(&self) -> ServerHtlcRecvVtxoPolicy
fn clone(&self) -> ServerHtlcRecvVtxoPolicy
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 ServerHtlcRecvVtxoPolicy
impl Debug for ServerHtlcRecvVtxoPolicy
Source§impl From<ServerHtlcRecvVtxoPolicy> for VtxoPolicy
impl From<ServerHtlcRecvVtxoPolicy> for VtxoPolicy
Source§fn from(policy: ServerHtlcRecvVtxoPolicy) -> Self
fn from(policy: ServerHtlcRecvVtxoPolicy) -> Self
Converts to this type from the input type.
Source§impl Hash for ServerHtlcRecvVtxoPolicy
impl Hash for ServerHtlcRecvVtxoPolicy
Source§impl Ord for ServerHtlcRecvVtxoPolicy
impl Ord for ServerHtlcRecvVtxoPolicy
Source§fn cmp(&self, other: &ServerHtlcRecvVtxoPolicy) -> Ordering
fn cmp(&self, other: &ServerHtlcRecvVtxoPolicy) -> 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 ServerHtlcRecvVtxoPolicy
impl PartialEq for ServerHtlcRecvVtxoPolicy
Source§impl PartialOrd for ServerHtlcRecvVtxoPolicy
impl PartialOrd for ServerHtlcRecvVtxoPolicy
impl Eq for ServerHtlcRecvVtxoPolicy
impl StructuralPartialEq for ServerHtlcRecvVtxoPolicy
Auto Trait Implementations§
impl Freeze for ServerHtlcRecvVtxoPolicy
impl RefUnwindSafe for ServerHtlcRecvVtxoPolicy
impl Send for ServerHtlcRecvVtxoPolicy
impl Sync for ServerHtlcRecvVtxoPolicy
impl Unpin for ServerHtlcRecvVtxoPolicy
impl UnwindSafe for ServerHtlcRecvVtxoPolicy
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