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