pub enum NotificationAction {
Silence,
CanisterCall {
canister: CanisterId,
method: String,
event: String,
},
Email {
email: String,
},
Post {
channel: String,
url: String,
},
}Variants§
Trait Implementations§
source§impl CandidType for NotificationAction
impl CandidType for NotificationAction
source§impl Clone for NotificationAction
impl Clone for NotificationAction
source§fn clone(&self) -> NotificationAction
fn clone(&self) -> NotificationAction
Returns a copy 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 NotificationAction
impl Debug for NotificationAction
source§impl<'de> Deserialize<'de> for NotificationAction
impl<'de> Deserialize<'de> for NotificationAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NotificationAction
impl Send for NotificationAction
impl Sync for NotificationAction
impl Unpin for NotificationAction
impl UnwindSafe for NotificationAction
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