[][src]Struct google_androidmanagement1::NonComplianceDetailCondition

pub struct NonComplianceDetailCondition {
    pub package_name: Option<String>,
    pub setting_name: Option<String>,
    pub non_compliance_reason: Option<String>,
}

A compliance rule condition which is satisfied if there exists any matching NonComplianceDetail for the device. A NonComplianceDetail matches a NonComplianceDetailCondition if all the fields which are set within the NonComplianceDetailCondition match the corresponding NonComplianceDetail fields.

This type is not used in any activity, and only used as part of another schema.

Fields

package_name: Option<String>

The package name of the app that's out of compliance. If not set, then this condition matches any package name.

setting_name: Option<String>

The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name.

non_compliance_reason: Option<String>

The reason the device is not in compliance with the setting. If not set, then this condition matches any reason.

Trait Implementations

impl Clone for NonComplianceDetailCondition[src]

impl Debug for NonComplianceDetailCondition[src]

impl Default for NonComplianceDetailCondition[src]

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

impl Part for NonComplianceDetailCondition[src]

impl Serialize for NonComplianceDetailCondition[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any