pub enum TeamNotificationSetting {
NotificationsEnabled,
NotificationsDisabled,
}
Expand description
Whether team members will receive notifications when their team is @mentioned
JSON schema
{
"description": "Whether team members will receive notifications when their team is @mentioned",
"type": "string",
"enum": [
"notifications_enabled",
"notifications_disabled"
]
}
Variants§
Trait Implementations§
Source§impl Clone for TeamNotificationSetting
impl Clone for TeamNotificationSetting
Source§fn clone(&self) -> TeamNotificationSetting
fn clone(&self) -> TeamNotificationSetting
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 TeamNotificationSetting
impl Debug for TeamNotificationSetting
Source§impl<'de> Deserialize<'de> for TeamNotificationSetting
impl<'de> Deserialize<'de> for TeamNotificationSetting
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 From<&TeamNotificationSetting> for TeamNotificationSetting
impl From<&TeamNotificationSetting> for TeamNotificationSetting
Source§fn from(value: &TeamNotificationSetting) -> Self
fn from(value: &TeamNotificationSetting) -> Self
Converts to this type from the input type.
Source§impl FromStr for TeamNotificationSetting
impl FromStr for TeamNotificationSetting
Source§impl Hash for TeamNotificationSetting
impl Hash for TeamNotificationSetting
Source§impl Ord for TeamNotificationSetting
impl Ord for TeamNotificationSetting
Source§fn cmp(&self, other: &TeamNotificationSetting) -> Ordering
fn cmp(&self, other: &TeamNotificationSetting) -> 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 TeamNotificationSetting
impl PartialEq for TeamNotificationSetting
Source§impl PartialOrd for TeamNotificationSetting
impl PartialOrd for TeamNotificationSetting
Source§impl Serialize for TeamNotificationSetting
impl Serialize for TeamNotificationSetting
Source§impl ToString for TeamNotificationSetting
impl ToString for TeamNotificationSetting
Source§impl TryFrom<&String> for TeamNotificationSetting
impl TryFrom<&String> for TeamNotificationSetting
Source§impl TryFrom<&str> for TeamNotificationSetting
impl TryFrom<&str> for TeamNotificationSetting
Source§impl TryFrom<String> for TeamNotificationSetting
impl TryFrom<String> for TeamNotificationSetting
impl Copy for TeamNotificationSetting
impl Eq for TeamNotificationSetting
impl StructuralPartialEq for TeamNotificationSetting
Auto Trait Implementations§
impl Freeze for TeamNotificationSetting
impl RefUnwindSafe for TeamNotificationSetting
impl Send for TeamNotificationSetting
impl Sync for TeamNotificationSetting
impl Unpin for TeamNotificationSetting
impl UnwindSafe for TeamNotificationSetting
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