#[repr(isize)]pub enum NotificationSetting {
NotSupported = 0,
Disabled = 1,
Enabled = 2,
}Variants§
NotSupported = 0
The application does not support this notification type
Disabled = 1
The notification setting is turned off.
Enabled = 2
The notification setting is turned on.
Trait Implementations§
Source§impl Clone for NotificationSetting
impl Clone for NotificationSetting
Source§fn clone(&self) -> NotificationSetting
fn clone(&self) -> NotificationSetting
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotificationSetting
Source§impl Debug for NotificationSetting
impl Debug for NotificationSetting
impl Eq for NotificationSetting
Source§impl Hash for NotificationSetting
impl Hash for NotificationSetting
Source§impl PartialEq for NotificationSetting
impl PartialEq for NotificationSetting
Source§fn eq(&self, other: &NotificationSetting) -> bool
fn eq(&self, other: &NotificationSetting) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationSetting
Auto Trait Implementations§
impl Freeze for NotificationSetting
impl RefUnwindSafe for NotificationSetting
impl Send for NotificationSetting
impl Sync for NotificationSetting
impl Unpin for NotificationSetting
impl UnsafeUnpin for NotificationSetting
impl UnwindSafe for NotificationSetting
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