Struct rust_tdlib::types::ResetAllNotificationSettings
source · [−]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
sourceimpl AsRef<ResetAllNotificationSettings> for ResetAllNotificationSettings
impl AsRef<ResetAllNotificationSettings> for ResetAllNotificationSettings
sourcefn as_ref(&self) -> &ResetAllNotificationSettings
fn as_ref(&self) -> &ResetAllNotificationSettings
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ResetAllNotificationSettings
impl Clone for ResetAllNotificationSettings
sourcefn clone(&self) -> ResetAllNotificationSettings
fn clone(&self) -> ResetAllNotificationSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ResetAllNotificationSettings
impl Debug for ResetAllNotificationSettings
sourceimpl Default for ResetAllNotificationSettings
impl Default for ResetAllNotificationSettings
sourcefn default() -> ResetAllNotificationSettings
fn default() -> ResetAllNotificationSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ResetAllNotificationSettings
impl<'de> Deserialize<'de> for ResetAllNotificationSettings
sourcefn 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 RefUnwindSafe for ResetAllNotificationSettings
impl Send for ResetAllNotificationSettings
impl Sync for ResetAllNotificationSettings
impl Unpin for ResetAllNotificationSettings
impl UnwindSafe for ResetAllNotificationSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more