[][src]Struct google_androidmanagement1::NonComplianceDetail

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 Part for NonComplianceDetail[src]

impl Default for NonComplianceDetail[src]

impl Clone for NonComplianceDetail[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for NonComplianceDetail[src]

impl Serialize for NonComplianceDetail[src]

impl<'de> Deserialize<'de> for NonComplianceDetail[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]