pub enum NotificationType {
PaymentDetected,
FirstConfirmation,
ReasonablySecure,
FullyConfirmed,
}Expand description
Notification types for confirmation events
Variants§
PaymentDetected
Payment detected in mempool
FirstConfirmation
First confirmation received
ReasonablySecure
Reached reasonably secure level (3 confirmations)
FullyConfirmed
Fully confirmed (6+ confirmations)
Trait Implementations§
Source§impl Clone for NotificationType
impl Clone for NotificationType
Source§fn clone(&self) -> NotificationType
fn clone(&self) -> NotificationType
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 NotificationType
impl Debug for NotificationType
Source§impl From<ConfirmationLevel> for NotificationType
impl From<ConfirmationLevel> for NotificationType
Source§fn from(level: ConfirmationLevel) -> Self
fn from(level: ConfirmationLevel) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NotificationType
impl RefUnwindSafe for NotificationType
impl Send for NotificationType
impl Sync for NotificationType
impl Unpin for NotificationType
impl UnwindSafe for NotificationType
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