pub struct SettingsSectionNotifications {
pub subsection: String,
}Expand description
The notification settings section
Fields§
§subsection: StringSubsection of the section; may be one of “”, “accounts”, “private-chats”, “private-chats/edit”, “private-chats/show”, “private-chats/preview”, “private-chats/sound”, “private-chats/add-exception”, “private-chats/delete-exceptions”, “private-chats/light-color”, “private-chats/vibrate”, “private-chats/priority”, “groups”, “groups/edit”, “groups/show”, “groups/preview”, “groups/sound”, “groups/add-exception”, “groups/delete-exceptions”, “groups/light-color”, “groups/vibrate”, “groups/priority”, “channels”, “channels/edit”, “channels/show”, “channels/preview”, “channels/sound”, “channels/add-exception”, “channels/delete-exceptions”, “channels/light-color”, “channels/vibrate”, “channels/priority”, “stories”, “stories/new”, “stories/important”, “stories/show-sender”, “stories/sound”, “stories/add-exception”, “stories/delete-exceptions”, “stories/light-color”, “stories/vibrate”, “stories/priority”, “reactions”, “reactions/messages”, “reactions/stories”, “reactions/show-sender”, “reactions/sound”, “reactions/light-color”, “reactions/vibrate”, “reactions/priority”, “in-app-sounds”, “in-app-vibrate”, “in-app-preview”, “in-chat-sounds”, “in-app-popup”, “lock-screen-names”, “include-channels”, “include-muted-chats”, “count-unread-messages”, “new-contacts”, “pinned-messages”, “reset”, “web”
Trait Implementations§
Source§impl Clone for SettingsSectionNotifications
impl Clone for SettingsSectionNotifications
Source§fn clone(&self) -> SettingsSectionNotifications
fn clone(&self) -> SettingsSectionNotifications
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SettingsSectionNotifications
impl Debug for SettingsSectionNotifications
Source§impl Default for SettingsSectionNotifications
impl Default for SettingsSectionNotifications
Source§fn default() -> SettingsSectionNotifications
fn default() -> SettingsSectionNotifications
Source§impl<'de> Deserialize<'de> for SettingsSectionNotifications
impl<'de> Deserialize<'de> for SettingsSectionNotifications
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>,
Source§impl PartialEq for SettingsSectionNotifications
impl PartialEq for SettingsSectionNotifications
Source§fn eq(&self, other: &SettingsSectionNotifications) -> bool
fn eq(&self, other: &SettingsSectionNotifications) -> bool
self and other values to be equal, and is used by ==.