pub enum WebhookEventType {
LightningReceiveFinished,
LightningSendFinished,
CoopExitFinished,
StaticDepositFinished,
Unknown(String),
}Expand description
The type of event that triggers a webhook notification.
Variants§
LightningReceiveFinished
Triggered when a Lightning receive operation completes.
LightningSendFinished
Triggered when a Lightning send operation completes.
CoopExitFinished
Triggered when a cooperative exit completes.
StaticDepositFinished
Triggered when a static deposit completes.
Unknown(String)
An event type not yet recognized by this version of the SDK.
Trait Implementations§
Source§impl Clone for WebhookEventType
impl Clone for WebhookEventType
Source§fn clone(&self) -> WebhookEventType
fn clone(&self) -> WebhookEventType
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 WebhookEventType
impl Debug for WebhookEventType
Source§impl From<SparkWalletWebhookEventType> for WebhookEventType
impl From<SparkWalletWebhookEventType> for WebhookEventType
Source§impl From<WebhookEventType> for SparkWalletWebhookEventType
impl From<WebhookEventType> for SparkWalletWebhookEventType
Source§fn from(value: WebhookEventType) -> Self
fn from(value: WebhookEventType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebhookEventType
impl PartialEq for WebhookEventType
Source§impl Serialize for WebhookEventType
impl Serialize for WebhookEventType
impl Eq for WebhookEventType
impl StructuralPartialEq for WebhookEventType
Auto Trait Implementations§
impl Freeze for WebhookEventType
impl RefUnwindSafe for WebhookEventType
impl Send for WebhookEventType
impl Sync for WebhookEventType
impl Unpin for WebhookEventType
impl UnwindSafe for WebhookEventType
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request