pub enum NotificationSetting {
Enabled,
Disabled,
}
Expand description
The notification setting the team has chosen. The options are: * notifications_enabled
- team members receive notifications when the team is @mentioned. * notifications_disabled
- no one receives notifications. Default: notifications_enabled
Variants§
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 · 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 NotificationSetting
impl Debug for NotificationSetting
Source§impl Default for NotificationSetting
impl Default for NotificationSetting
Source§fn default() -> NotificationSetting
fn default() -> NotificationSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationSetting
impl<'de> Deserialize<'de> for NotificationSetting
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 Hash for NotificationSetting
impl Hash for NotificationSetting
Source§impl Ord for NotificationSetting
impl Ord for NotificationSetting
Source§fn cmp(&self, other: &NotificationSetting) -> Ordering
fn cmp(&self, other: &NotificationSetting) -> Ordering
1.21.0 · 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 NotificationSetting
impl PartialEq for NotificationSetting
Source§impl PartialOrd for NotificationSetting
impl PartialOrd for NotificationSetting
Source§impl Serialize for NotificationSetting
impl Serialize for NotificationSetting
impl Copy for NotificationSetting
impl Eq for NotificationSetting
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.