Enum catenis_api_client::api::NotificationEvent
source · pub enum NotificationEvent {
Show 13 variants
NewMsgReceived,
SentMsgRead,
AssetReceived,
AssetConfirmed,
FinalMsgProgress,
AssetExportOutcome,
AssetMigrationOutcome,
NFAssetIssuanceOutcome,
NFTokenReceived,
NFTokenConfirmed,
NFTokenRetrievalOutcome,
NFTokenTransferOutcome,
UnknownEvent(String),
}
Expand description
Catenis notification event.
Variants
NewMsgReceived
The new-msg-received notification event.
SentMsgRead
The sent-msg-read notification event.
AssetReceived
The asset-received notification event.
AssetConfirmed
The asset-confirmed notification event.
FinalMsgProgress
The final-msg-progress notification event.
AssetExportOutcome
The asset-export-outcome notification event.
AssetMigrationOutcome
The asset-migration-outcome notification event.
NFAssetIssuanceOutcome
The nf-asset-issuance-outcome notification event.
NFTokenReceived
The nf-token-received notification event.
NFTokenConfirmed
The nf-token-confirmed notification event.
NFTokenRetrievalOutcome
The nf-token-retrieval-outcome notification event.
NFTokenTransferOutcome
The nf-token-transfer-outcome notification event.
UnknownEvent(String)
Any unknown notification event.
Trait Implementations
sourceimpl Clone for NotificationEvent
impl Clone for NotificationEvent
sourcefn clone(&self) -> NotificationEvent
fn clone(&self) -> NotificationEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NotificationEvent
impl Debug for NotificationEvent
sourceimpl<'de> Deserialize<'de> for NotificationEvent
impl<'de> Deserialize<'de> for NotificationEvent
sourcefn deserialize<D>(deserializer: D) -> Result<NotificationEvent, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<NotificationEvent, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for NotificationEvent
impl Hash for NotificationEvent
sourceimpl Into<NotificationEvent> for &str
impl Into<NotificationEvent> for &str
sourcefn into(self) -> NotificationEvent
fn into(self) -> NotificationEvent
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<NotificationEvent> for NotificationEvent
impl PartialEq<NotificationEvent> for NotificationEvent
sourcefn eq(&self, other: &NotificationEvent) -> bool
fn eq(&self, other: &NotificationEvent) -> bool
sourceimpl ToString for NotificationEvent
impl ToString for NotificationEvent
impl Eq for NotificationEvent
impl StructuralEq for NotificationEvent
impl StructuralPartialEq for NotificationEvent
Auto Trait Implementations
impl RefUnwindSafe for NotificationEvent
impl Send for NotificationEvent
impl Sync for NotificationEvent
impl Unpin for NotificationEvent
impl UnwindSafe for NotificationEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.