pub enum WebhookNotificationMethod {
LSPS5WebhookRegistered,
LSPS5PaymentIncoming,
LSPS5ExpirySoon {
timeout: u32,
},
LSPS5LiquidityManagementRequest,
LSPS5OnionMessageIncoming,
}Expand description
Webhook notification methods defined in LSPS5.
Variants§
LSPS5WebhookRegistered
Webhook has been successfully registered.
LSPS5PaymentIncoming
Client has payments pending to be received.
LSPS5ExpirySoon
HTLC or time-bound contract is about to expire.
Fields
LSPS5LiquidityManagementRequest
LSP wants to take back some liquidity.
LSPS5OnionMessageIncoming
Client has onion messages pending.
Trait Implementations§
Source§impl Clone for WebhookNotificationMethod
impl Clone for WebhookNotificationMethod
Source§fn clone(&self) -> WebhookNotificationMethod
fn clone(&self) -> WebhookNotificationMethod
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 WebhookNotificationMethod
impl Debug for WebhookNotificationMethod
Source§impl Hash for WebhookNotificationMethod
impl Hash for WebhookNotificationMethod
Source§impl Readable for WebhookNotificationMethod
impl Readable for WebhookNotificationMethod
Source§impl Writeable for WebhookNotificationMethod
impl Writeable for WebhookNotificationMethod
impl Eq for WebhookNotificationMethod
impl StructuralPartialEq for WebhookNotificationMethod
Auto Trait Implementations§
impl Freeze for WebhookNotificationMethod
impl RefUnwindSafe for WebhookNotificationMethod
impl Send for WebhookNotificationMethod
impl Sync for WebhookNotificationMethod
impl Unpin for WebhookNotificationMethod
impl UnwindSafe for WebhookNotificationMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LengthReadable for Twhere
T: Readable,
impl<T> LengthReadable for Twhere
T: Readable,
Source§fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
Reads a
Self in from the given LengthLimitedRead.