pub enum SettingType {
Accessibility,
Audio,
Display,
DoNotDisturb,
FactoryReset,
Input,
Intl,
Keyboard,
Light,
NightMode,
Privacy,
Setup,
}
Expand description
The setting types supported by the service.
Variants§
Accessibility
Audio
Display
DoNotDisturb
FactoryReset
Input
Intl
Keyboard
Light
NightMode
Privacy
Setup
Trait Implementations§
Source§impl Clone for SettingType
impl Clone for SettingType
Source§fn clone(&self) -> SettingType
fn clone(&self) -> SettingType
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 Debug for SettingType
impl Debug for SettingType
Source§impl From<&SettingInfo> for SettingType
impl From<&SettingInfo> for SettingType
Source§fn from(info: &SettingInfo) -> SettingType
fn from(info: &SettingInfo) -> SettingType
Converts to this type from the input type.
Source§impl From<SettingType> for StorageType
impl From<SettingType> for StorageType
Source§fn from(setting_type: SettingType) -> Self
fn from(setting_type: SettingType) -> Self
Converts to this type from the input type.
Source§impl Hash for SettingType
impl Hash for SettingType
Source§impl PartialEq for SettingType
impl PartialEq for SettingType
Source§impl Serialize for SettingType
impl Serialize for SettingType
impl Copy for SettingType
impl Eq for SettingType
impl StructuralPartialEq for SettingType
Auto Trait Implementations§
impl Freeze for SettingType
impl RefUnwindSafe for SettingType
impl Send for SettingType
impl Sync for SettingType
impl Unpin for SettingType
impl UnwindSafe for SettingType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)