pub enum NotificationAuthOption {
Badge,
Sound,
Alert,
}
Available on crate feature
user-notifications
only.Variants
Badge
Sound
Alert
Trait Implementations
sourceimpl Debug for NotificationAuthOption
impl Debug for NotificationAuthOption
sourceimpl From<&NotificationAuthOption> for NSUInteger
impl From<&NotificationAuthOption> for NSUInteger
sourcefn from(option: &NotificationAuthOption) -> Self
fn from(option: &NotificationAuthOption) -> Self
Converts to this type from the input type.
sourceimpl From<NotificationAuthOption> for NSUInteger
impl From<NotificationAuthOption> for NSUInteger
sourcefn from(option: NotificationAuthOption) -> Self
fn from(option: NotificationAuthOption) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for NotificationAuthOption
impl Send for NotificationAuthOption
impl Sync for NotificationAuthOption
impl Unpin for NotificationAuthOption
impl UnwindSafe for NotificationAuthOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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