pub enum TeamParentNotificationSetting {
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 TeamParentNotificationSetting
impl Clone for TeamParentNotificationSetting
Source§fn clone(&self) -> TeamParentNotificationSetting
fn clone(&self) -> TeamParentNotificationSetting
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<'de> Deserialize<'de> for TeamParentNotificationSetting
impl<'de> Deserialize<'de> for TeamParentNotificationSetting
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<&TeamParentNotificationSetting> for TeamParentNotificationSetting
impl From<&TeamParentNotificationSetting> for TeamParentNotificationSetting
Source§fn from(value: &TeamParentNotificationSetting) -> Self
fn from(value: &TeamParentNotificationSetting) -> Self
Converts to this type from the input type.
Source§impl Hash for TeamParentNotificationSetting
impl Hash for TeamParentNotificationSetting
Source§impl Ord for TeamParentNotificationSetting
impl Ord for TeamParentNotificationSetting
Source§fn cmp(&self, other: &TeamParentNotificationSetting) -> Ordering
fn cmp(&self, other: &TeamParentNotificationSetting) -> 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 TeamParentNotificationSetting
impl PartialEq for TeamParentNotificationSetting
Source§fn eq(&self, other: &TeamParentNotificationSetting) -> bool
fn eq(&self, other: &TeamParentNotificationSetting) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for TeamParentNotificationSetting
impl PartialOrd for TeamParentNotificationSetting
Source§impl TryFrom<&String> for TeamParentNotificationSetting
impl TryFrom<&String> for TeamParentNotificationSetting
Source§impl TryFrom<&str> for TeamParentNotificationSetting
impl TryFrom<&str> for TeamParentNotificationSetting
impl Copy for TeamParentNotificationSetting
impl Eq for TeamParentNotificationSetting
impl StructuralPartialEq for TeamParentNotificationSetting
Auto Trait Implementations§
impl Freeze for TeamParentNotificationSetting
impl RefUnwindSafe for TeamParentNotificationSetting
impl Send for TeamParentNotificationSetting
impl Sync for TeamParentNotificationSetting
impl Unpin for TeamParentNotificationSetting
impl UnwindSafe for TeamParentNotificationSetting
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