pub struct SettingsSectionPowerSaving {
pub subsection: String,
}Expand description
The power saving settings section
Fields§
§subsection: StringSubsection of the section; may be one of “”, “videos”, “gifs”, “stickers”, “emoji”, “effects”, “preload”, “background”, “call-animations”, “particles”, “transitions”
Trait Implementations§
Source§impl Clone for SettingsSectionPowerSaving
impl Clone for SettingsSectionPowerSaving
Source§fn clone(&self) -> SettingsSectionPowerSaving
fn clone(&self) -> SettingsSectionPowerSaving
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 SettingsSectionPowerSaving
impl Debug for SettingsSectionPowerSaving
Source§impl Default for SettingsSectionPowerSaving
impl Default for SettingsSectionPowerSaving
Source§fn default() -> SettingsSectionPowerSaving
fn default() -> SettingsSectionPowerSaving
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsSectionPowerSaving
impl<'de> Deserialize<'de> for SettingsSectionPowerSaving
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
impl StructuralPartialEq for SettingsSectionPowerSaving
Auto Trait Implementations§
impl Freeze for SettingsSectionPowerSaving
impl RefUnwindSafe for SettingsSectionPowerSaving
impl Send for SettingsSectionPowerSaving
impl Sync for SettingsSectionPowerSaving
impl Unpin for SettingsSectionPowerSaving
impl UnsafeUnpin for SettingsSectionPowerSaving
impl UnwindSafe for SettingsSectionPowerSaving
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