pub struct SettingsSectionPrivacyAndSecurity {
pub subsection: String,
}Expand description
The privacy and security section
Fields§
§subsection: StringSubsection of the section; may be one of “”, “blocked”, “blocked/edit”, “blocked/block-user”, “blocked/block-user/chats”, “blocked/block-user/contacts”, “active-websites”, “active-websites/edit”, “active-websites/disconnect-all”, “passcode”, “passcode/disable”, “passcode/change”, “passcode/auto-lock”, “passcode/face-id”, “passcode/fingerprint”, “2sv”, “2sv/change”, “2sv/disable”, “2sv/change-email”, “passkey”, “passkey/create”, “auto-delete”, “auto-delete/set-custom”, “login-email”, “phone-number”, “phone-number/never”, “phone-number/always”, “last-seen”, “last-seen/never”, “last-seen/always”, “last-seen/hide-read-time”, “profile-photos”, “profile-photos/never”, “profile-photos/always”, “profile-photos/set-public”, “profile-photos/update-public”, “profile-photos/remove-public”, “bio”, “bio/never”, “bio/always”, “gifts”, “gifts/show-icon”, “gifts/never”, “gifts/always”, “gifts/accepted-types”, “birthday”, “birthday/add”, “birthday/never”, “birthday/always”, “saved-music”, “saved-music/never”, “saved-music/always”, “forwards”, “forwards/never”, “forwards/always”, “calls”, “calls/never”, “calls/always”, “calls/p2p”, “calls/p2p/never”, “calls/p2p/always”, “calls/ios-integration”, “voice”, “voice/never”, “voice/always”, “messages”, “messages/set-price”, “messages/exceptions”, “invites”, “invites/never”, “invites/always”, “self-destruct”, “data-settings”, “data-settings/sync-contacts”, “data-settings/delete-synced”, “data-settings/suggest-contacts”, “data-settings/delete-cloud-drafts”, “data-settings/clear-payment-info”, “data-settings/link-previews”, “data-settings/bot-settings”, “data-settings/map-provider”, “archive-and-mute”
Trait Implementations§
Source§impl Clone for SettingsSectionPrivacyAndSecurity
impl Clone for SettingsSectionPrivacyAndSecurity
Source§fn clone(&self) -> SettingsSectionPrivacyAndSecurity
fn clone(&self) -> SettingsSectionPrivacyAndSecurity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for SettingsSectionPrivacyAndSecurity
impl Default for SettingsSectionPrivacyAndSecurity
Source§fn default() -> SettingsSectionPrivacyAndSecurity
fn default() -> SettingsSectionPrivacyAndSecurity
Source§impl<'de> Deserialize<'de> for SettingsSectionPrivacyAndSecurity
impl<'de> Deserialize<'de> for SettingsSectionPrivacyAndSecurity
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 SettingsSectionPrivacyAndSecurity
impl PartialEq for SettingsSectionPrivacyAndSecurity
Source§fn eq(&self, other: &SettingsSectionPrivacyAndSecurity) -> bool
fn eq(&self, other: &SettingsSectionPrivacyAndSecurity) -> bool
self and other values to be equal, and is used by ==.