Struct rust_tdlib::types::UpdateScopeNotificationSettings
source · pub struct UpdateScopeNotificationSettings { /* private fields */ }
Expand description
Notification settings for some type of chats were updated
Implementations§
source§impl UpdateScopeNotificationSettings
impl UpdateScopeNotificationSettings
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateScopeNotificationSettingsBuilder
pub fn scope(&self) -> &NotificationSettingsScope
pub fn notification_settings(&self) -> &ScopeNotificationSettings
Trait Implementations§
source§impl AsRef<UpdateScopeNotificationSettings> for UpdateScopeNotificationSettings
impl AsRef<UpdateScopeNotificationSettings> for UpdateScopeNotificationSettings
source§fn as_ref(&self) -> &UpdateScopeNotificationSettings
fn as_ref(&self) -> &UpdateScopeNotificationSettings
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for UpdateScopeNotificationSettings
impl Clone for UpdateScopeNotificationSettings
source§fn clone(&self) -> UpdateScopeNotificationSettings
fn clone(&self) -> UpdateScopeNotificationSettings
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 Default for UpdateScopeNotificationSettings
impl Default for UpdateScopeNotificationSettings
source§fn default() -> UpdateScopeNotificationSettings
fn default() -> UpdateScopeNotificationSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateScopeNotificationSettings
impl<'de> Deserialize<'de> for UpdateScopeNotificationSettings
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