pub struct SettingsSectionLanguage {
pub subsection: String,
}Expand description
The application language section
Fields§
§subsection: StringSubsection of the section; may be one of “”, “show-button” for Show Translate Button toggle, “translate-chats” for Translate Entire Chats toggle, “do-not-translate” - for Do Not Translate language list
Trait Implementations§
Source§impl Clone for SettingsSectionLanguage
impl Clone for SettingsSectionLanguage
Source§fn clone(&self) -> SettingsSectionLanguage
fn clone(&self) -> SettingsSectionLanguage
Returns a duplicate 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 SettingsSectionLanguage
impl Debug for SettingsSectionLanguage
Source§impl Default for SettingsSectionLanguage
impl Default for SettingsSectionLanguage
Source§fn default() -> SettingsSectionLanguage
fn default() -> SettingsSectionLanguage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsSectionLanguage
impl<'de> Deserialize<'de> for SettingsSectionLanguage
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
Source§impl PartialEq for SettingsSectionLanguage
impl PartialEq for SettingsSectionLanguage
Source§impl Serialize for SettingsSectionLanguage
impl Serialize for SettingsSectionLanguage
impl StructuralPartialEq for SettingsSectionLanguage
Auto Trait Implementations§
impl Freeze for SettingsSectionLanguage
impl RefUnwindSafe for SettingsSectionLanguage
impl Send for SettingsSectionLanguage
impl Sync for SettingsSectionLanguage
impl Unpin for SettingsSectionLanguage
impl UnsafeUnpin for SettingsSectionLanguage
impl UnwindSafe for SettingsSectionLanguage
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