pub struct PartialNotificationChannelPreferencesInput {
pub mobile: Option<bool>,
pub desktop: Option<bool>,
pub email: Option<bool>,
pub slack: Option<bool>,
}Fields§
§mobile: Option<bool>Whether notifications are currently enabled for mobile.
desktop: Option<bool>Whether notifications are currently enabled for desktop.
email: Option<bool>Whether notifications are currently enabled for email.
slack: Option<bool>Whether notifications are currently enabled for Slack.
Trait Implementations§
Source§impl Clone for PartialNotificationChannelPreferencesInput
impl Clone for PartialNotificationChannelPreferencesInput
Source§fn clone(&self) -> PartialNotificationChannelPreferencesInput
fn clone(&self) -> PartialNotificationChannelPreferencesInput
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 Default for PartialNotificationChannelPreferencesInput
impl Default for PartialNotificationChannelPreferencesInput
Source§fn default() -> PartialNotificationChannelPreferencesInput
fn default() -> PartialNotificationChannelPreferencesInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialNotificationChannelPreferencesInput
impl<'de> Deserialize<'de> for PartialNotificationChannelPreferencesInput
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
Auto Trait Implementations§
impl Freeze for PartialNotificationChannelPreferencesInput
impl RefUnwindSafe for PartialNotificationChannelPreferencesInput
impl Send for PartialNotificationChannelPreferencesInput
impl Sync for PartialNotificationChannelPreferencesInput
impl Unpin for PartialNotificationChannelPreferencesInput
impl UnwindSafe for PartialNotificationChannelPreferencesInput
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