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
sourceimpl Clone for DeviceSettings
impl Clone for DeviceSettings
sourcefn clone(&self) -> DeviceSettings
fn clone(&self) -> DeviceSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DeviceSettings
impl Debug for DeviceSettings
sourceimpl Default for DeviceSettings
impl Default for DeviceSettings
sourcefn default() -> DeviceSettings
fn default() -> DeviceSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeviceSettings
impl<'de> Deserialize<'de> for DeviceSettings
sourcefn 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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more