Struct google_androidmanagement1::api::DeviceSettings
source · pub struct DeviceSettings {
pub adb_enabled: Option<bool>,
pub development_settings_enabled: Option<bool>,
pub encryption_status: Option<String>,
pub is_device_secure: Option<bool>,
pub is_encrypted: Option<bool>,
pub unknown_sources_enabled: Option<bool>,
pub verify_apps_enabled: Option<bool>,
}
Expand description
Information about security related device settings on device.
This type is not used in any activity, and only used as part of another schema.
Fields§
§adb_enabled: Option<bool>
Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.
development_settings_enabled: Option<bool>
Whether developer mode is enabled on the device.
encryption_status: Option<String>
Encryption status from DevicePolicyManager.
is_device_secure: Option<bool>
Whether the device is secured with PIN/password.
is_encrypted: Option<bool>
Whether the storage encryption is enabled.
unknown_sources_enabled: Option<bool>
Whether installing apps from unknown sources is enabled.
verify_apps_enabled: Option<bool>
Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced on the device.
Trait Implementations§
source§impl Clone for DeviceSettings
impl Clone for DeviceSettings
source§fn clone(&self) -> DeviceSettings
fn clone(&self) -> DeviceSettings
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 DeviceSettings
impl Debug for DeviceSettings
source§impl Default for DeviceSettings
impl Default for DeviceSettings
source§fn default() -> DeviceSettings
fn default() -> DeviceSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceSettings
impl<'de> Deserialize<'de> for DeviceSettings
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 Serialize for DeviceSettings
impl Serialize for DeviceSettings
impl Part for DeviceSettings
Auto Trait Implementations§
impl RefUnwindSafe for DeviceSettings
impl Send for DeviceSettings
impl Sync for DeviceSettings
impl Unpin for DeviceSettings
impl UnwindSafe for DeviceSettings
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