pub enum NotificationSettingChannel {
On,
Off,
DisabledOn,
DisabledOff,
}Expand description
NotificationSettingChannel : Строка состояния, указывающая состояние уведомления. Может быть «on», «off», «disabled_on» или «disabled_off». Строка состояния, указывающая состояние уведомления. Может быть «on», «off», «disabled_on» или «disabled_off».
Variants§
Trait Implementations§
Source§impl Clone for NotificationSettingChannel
impl Clone for NotificationSettingChannel
Source§fn clone(&self) -> NotificationSettingChannel
fn clone(&self) -> NotificationSettingChannel
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 moreSource§impl Debug for NotificationSettingChannel
impl Debug for NotificationSettingChannel
Source§impl Default for NotificationSettingChannel
impl Default for NotificationSettingChannel
Source§fn default() -> NotificationSettingChannel
fn default() -> NotificationSettingChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSettingChannel
impl<'de> Deserialize<'de> for NotificationSettingChannel
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
Source§impl Display for NotificationSettingChannel
impl Display for NotificationSettingChannel
Source§impl Hash for NotificationSettingChannel
impl Hash for NotificationSettingChannel
Source§impl Ord for NotificationSettingChannel
impl Ord for NotificationSettingChannel
Source§fn cmp(&self, other: &NotificationSettingChannel) -> Ordering
fn cmp(&self, other: &NotificationSettingChannel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NotificationSettingChannel
impl PartialEq for NotificationSettingChannel
Source§fn eq(&self, other: &NotificationSettingChannel) -> bool
fn eq(&self, other: &NotificationSettingChannel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NotificationSettingChannel
impl PartialOrd for NotificationSettingChannel
impl Copy for NotificationSettingChannel
impl Eq for NotificationSettingChannel
impl StructuralPartialEq for NotificationSettingChannel
Auto Trait Implementations§
impl Freeze for NotificationSettingChannel
impl RefUnwindSafe for NotificationSettingChannel
impl Send for NotificationSettingChannel
impl Sync for NotificationSettingChannel
impl Unpin for NotificationSettingChannel
impl UnsafeUnpin for NotificationSettingChannel
impl UnwindSafe for NotificationSettingChannel
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