pub struct NonComplianceDetailCondition {
pub non_compliance_reason: Option<String>,
pub package_name: Option<String>,
pub setting_name: Option<String>,
}
Expand description
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§
§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.
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.
Trait Implementations§
Source§impl Clone for NonComplianceDetailCondition
impl Clone for NonComplianceDetailCondition
Source§fn clone(&self) -> NonComplianceDetailCondition
fn clone(&self) -> NonComplianceDetailCondition
Returns a duplicate 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 NonComplianceDetailCondition
impl Debug for NonComplianceDetailCondition
Source§impl Default for NonComplianceDetailCondition
impl Default for NonComplianceDetailCondition
Source§fn default() -> NonComplianceDetailCondition
fn default() -> NonComplianceDetailCondition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NonComplianceDetailCondition
impl<'de> Deserialize<'de> for NonComplianceDetailCondition
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
impl Part for NonComplianceDetailCondition
Auto Trait Implementations§
impl Freeze for NonComplianceDetailCondition
impl RefUnwindSafe for NonComplianceDetailCondition
impl Send for NonComplianceDetailCondition
impl Sync for NonComplianceDetailCondition
impl Unpin for NonComplianceDetailCondition
impl UnwindSafe for NonComplianceDetailCondition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more