pub enum SettingInfo {
Accessibility(AccessibilityInfo),
Audio(AudioInfo),
Brightness(DisplayInfo),
FactoryReset(FactoryResetInfo),
Light(LightInfo),
DoNotDisturb(DoNotDisturbInfo),
Input(InputInfo),
Intl(IntlInfo),
Keyboard(KeyboardInfo),
NightMode(NightModeInfo),
Privacy(PrivacyInfo),
Setup(SetupInfo),
}
Expand description
Enumeration over the possible info types available in the service.
Variants§
Accessibility(AccessibilityInfo)
Audio(AudioInfo)
Brightness(DisplayInfo)
FactoryReset(FactoryResetInfo)
Light(LightInfo)
DoNotDisturb(DoNotDisturbInfo)
Input(InputInfo)
Intl(IntlInfo)
Keyboard(KeyboardInfo)
NightMode(NightModeInfo)
Privacy(PrivacyInfo)
Setup(SetupInfo)
Trait Implementations§
Source§impl Clone for SettingInfo
impl Clone for SettingInfo
Source§fn clone(&self) -> SettingInfo
fn clone(&self) -> SettingInfo
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 SettingInfo
impl Debug for SettingInfo
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<AudioInfo> for SettingInfo
impl From<AudioInfo> for SettingInfo
Source§fn from(audio: AudioInfo) -> SettingInfo
fn from(audio: AudioInfo) -> SettingInfo
Converts to this type from the input type.
Source§impl From<DisplayInfo> for SettingInfo
impl From<DisplayInfo> for SettingInfo
Source§fn from(info: DisplayInfo) -> SettingInfo
fn from(info: DisplayInfo) -> SettingInfo
Converts to this type from the input type.
Source§impl From<InputInfo> for SettingInfo
impl From<InputInfo> for SettingInfo
Source§fn from(info: InputInfo) -> SettingInfo
fn from(info: InputInfo) -> SettingInfo
Converts to this type from the input type.
Source§impl From<InputInfoSources> for SettingInfo
impl From<InputInfoSources> for SettingInfo
Source§fn from(info: InputInfoSources) -> SettingInfo
fn from(info: InputInfoSources) -> SettingInfo
Converts to this type from the input type.
Source§impl From<LightInfo> for SettingInfo
impl From<LightInfo> for SettingInfo
Source§fn from(info: LightInfo) -> SettingInfo
fn from(info: LightInfo) -> SettingInfo
Converts to this type from the input type.
Source§impl From<SettingInfo> for AccessibilitySettings
impl From<SettingInfo> for AccessibilitySettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for AudioSettings
impl From<SettingInfo> for AudioSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for DisplaySettings
impl From<SettingInfo> for DisplaySettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for DoNotDisturbSettings
impl From<SettingInfo> for DoNotDisturbSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for FactoryResetSettings
impl From<SettingInfo> for FactoryResetSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for InputSettings
impl From<SettingInfo> for InputSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for IntlSettings
impl From<SettingInfo> for IntlSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for KeyboardSettings
impl From<SettingInfo> for KeyboardSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for NightModeSettings
impl From<SettingInfo> for NightModeSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for PrivacySettings
impl From<SettingInfo> for PrivacySettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for SetupSettings
impl From<SettingInfo> for SetupSettings
Source§fn from(response: SettingInfo) -> Self
fn from(response: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for StorageInfo
impl From<SettingInfo> for StorageInfo
Source§fn from(setting_info: SettingInfo) -> Self
fn from(setting_info: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl From<SettingInfo> for Vec<LightGroup>
impl From<SettingInfo> for Vec<LightGroup>
Source§fn from(info: SettingInfo) -> Self
fn from(info: SettingInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SettingInfo
impl PartialEq for SettingInfo
Source§impl TryFrom<SettingInfo> for AudioInfo
impl TryFrom<SettingInfo> for AudioInfo
Source§impl TryFrom<SettingInfo> for DisplayInfo
impl TryFrom<SettingInfo> for DisplayInfo
Source§impl TryFrom<SettingInfo> for InputInfo
impl TryFrom<SettingInfo> for InputInfo
Source§impl TryFrom<SettingInfo> for LightInfo
impl TryFrom<SettingInfo> for LightInfo
impl StructuralPartialEq for SettingInfo
Auto Trait Implementations§
impl Freeze for SettingInfo
impl RefUnwindSafe for SettingInfo
impl Send for SettingInfo
impl Sync for SettingInfo
impl Unpin for SettingInfo
impl UnwindSafe for SettingInfo
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
)