pub enum NotificationId<T>where
T: Clone,{
ProofState(PublicKey),
MeltQuoteBolt11(T),
MintQuoteBolt11(T),
MintQuoteBolt12(T),
MeltQuoteBolt12(T),
MintQuoteCustom(String, T),
MeltQuoteCustom(String, T),
}Expand description
A parsed notification
Variants§
ProofState(PublicKey)
ProofState id is a Pubkey
MeltQuoteBolt11(T)
MeltQuote id is an QuoteId
MintQuoteBolt11(T)
MintQuote id is an QuoteId
MintQuoteBolt12(T)
MintQuote id is an QuoteId
MeltQuoteBolt12(T)
MintQuote id is an QuoteId
MintQuoteCustom(String, T)
MintQuote id is an QuoteId
MeltQuoteCustom(String, T)
MintQuote id is an QuoteId
Trait Implementations§
Source§impl<T> Clone for NotificationId<T>where
T: Clone,
impl<T> Clone for NotificationId<T>where
T: Clone,
Source§fn clone(&self) -> NotificationId<T>
fn clone(&self) -> NotificationId<T>
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<T> Debug for NotificationId<T>
impl<T> Debug for NotificationId<T>
Source§impl<'de, T> Deserialize<'de> for NotificationId<T>
impl<'de, T> Deserialize<'de> for NotificationId<T>
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NotificationId<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NotificationId<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> Hash for NotificationId<T>
impl<T> Hash for NotificationId<T>
Source§impl<T> Ord for NotificationId<T>
impl<T> Ord for NotificationId<T>
Source§fn cmp(&self, other: &NotificationId<T>) -> Ordering
fn cmp(&self, other: &NotificationId<T>) -> 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<T> PartialEq for NotificationId<T>
impl<T> PartialEq for NotificationId<T>
Source§impl<T> PartialOrd for NotificationId<T>where
T: PartialOrd + Clone,
impl<T> PartialOrd for NotificationId<T>where
T: PartialOrd + Clone,
Source§impl<T> Serialize for NotificationId<T>
impl<T> Serialize for NotificationId<T>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> Eq for NotificationId<T>
impl<T> StructuralPartialEq for NotificationId<T>where
T: Clone,
Auto Trait Implementations§
impl<T> Freeze for NotificationId<T>where
T: Freeze,
impl<T> RefUnwindSafe for NotificationId<T>where
T: RefUnwindSafe,
impl<T> Send for NotificationId<T>where
T: Send,
impl<T> Sync for NotificationId<T>where
T: Sync,
impl<T> Unpin for NotificationId<T>where
T: Unpin,
impl<T> UnsafeUnpin for NotificationId<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for NotificationId<T>where
T: UnwindSafe,
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