#[non_exhaustive]pub enum SecurityNotificationType {
Email,
Sms,
Push,
}Expand description
The type of notification issued.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The notification was sent via email.
Sms
The notification was sent via sms.
Push
The notification was sent as a push notification via your mobile app.
Trait Implementations§
Source§impl Debug for SecurityNotificationType
impl Debug for SecurityNotificationType
Source§impl<'de> Deserialize<'de> for SecurityNotificationType
impl<'de> Deserialize<'de> for SecurityNotificationType
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 Freeze for SecurityNotificationType
impl RefUnwindSafe for SecurityNotificationType
impl Send for SecurityNotificationType
impl Sync for SecurityNotificationType
impl Unpin for SecurityNotificationType
impl UnwindSafe for SecurityNotificationType
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