Struct google_androidmanagement1::NonComplianceDetail [−][src]
pub struct NonComplianceDetail { pub field_path: Option<String>, pub current_value: Option<String>, pub installation_failure_reason: Option<String>, pub setting_name: Option<String>, pub non_compliance_reason: Option<String>, pub package_name: Option<String>, }
Provides detail about non-compliance with a policy setting.
This type is not used in any activity, and only used as part of another schema.
Fields
field_path: Option<String>
For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url
current_value: Option<String>
If the policy setting could not be applied, the current value of the setting on the device.
installation_failure_reason: Option<String>
If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated.
setting_name: Option<String>
The name of the policy setting. This is the JSON field name of a top-level Policy field.
non_compliance_reason: Option<String>
The reason the device is not in compliance with the setting.
package_name: Option<String>
The package name indicating which app is out of compliance, if applicable.
Trait Implementations
impl Default for NonComplianceDetail
[src]
impl Default for NonComplianceDetail
fn default() -> NonComplianceDetail
[src]
fn default() -> NonComplianceDetail
Returns the "default value" for a type. Read more
impl Clone for NonComplianceDetail
[src]
impl Clone for NonComplianceDetail
fn clone(&self) -> NonComplianceDetail
[src]
fn clone(&self) -> NonComplianceDetail
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for NonComplianceDetail
[src]
impl Debug for NonComplianceDetail
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for NonComplianceDetail
[src]
impl Part for NonComplianceDetail
Auto Trait Implementations
impl Send for NonComplianceDetail
impl Send for NonComplianceDetail
impl Sync for NonComplianceDetail
impl Sync for NonComplianceDetail