pub struct ResetAllNotificationSettings { /* private fields */ }
Expand description
Resets all notification settings to their default values. By default, all chats are unmuted, the sound is set to “default” and message previews are shown
Implementations§
Trait Implementations§
Source§impl AsRef<ResetAllNotificationSettings> for ResetAllNotificationSettings
impl AsRef<ResetAllNotificationSettings> for ResetAllNotificationSettings
Source§fn as_ref(&self) -> &ResetAllNotificationSettings
fn as_ref(&self) -> &ResetAllNotificationSettings
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ResetAllNotificationSettings
impl Clone for ResetAllNotificationSettings
Source§fn clone(&self) -> ResetAllNotificationSettings
fn clone(&self) -> ResetAllNotificationSettings
Returns a copy 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 ResetAllNotificationSettings
impl Debug for ResetAllNotificationSettings
Source§impl Default for ResetAllNotificationSettings
impl Default for ResetAllNotificationSettings
Source§fn default() -> ResetAllNotificationSettings
fn default() -> ResetAllNotificationSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResetAllNotificationSettings
impl<'de> Deserialize<'de> for ResetAllNotificationSettings
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 ResetAllNotificationSettings
impl RefUnwindSafe for ResetAllNotificationSettings
impl Send for ResetAllNotificationSettings
impl Sync for ResetAllNotificationSettings
impl Unpin for ResetAllNotificationSettings
impl UnwindSafe for ResetAllNotificationSettings
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