#[non_exhaustive]pub struct PolicyReport {
pub name: Option<BoundedText>,
pub is_compliant: bool,
pub results: Vec<PolicyRuleResult>,
}Expand description
Policy evaluation report.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<BoundedText>Optional policy document name.
is_compliant: boolWhether all policy rules passed.
results: Vec<PolicyRuleResult>Rule results.
Implementations§
Trait Implementations§
Source§impl Clone for PolicyReport
impl Clone for PolicyReport
Source§fn clone(&self) -> PolicyReport
fn clone(&self) -> PolicyReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PolicyReport
impl Debug for PolicyReport
Source§impl<'de> Deserialize<'de> for PolicyReport
impl<'de> Deserialize<'de> for PolicyReport
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
Source§impl PartialEq for PolicyReport
impl PartialEq for PolicyReport
Source§fn eq(&self, other: &PolicyReport) -> bool
fn eq(&self, other: &PolicyReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PolicyReport
impl Serialize for PolicyReport
impl Eq for PolicyReport
impl StructuralPartialEq for PolicyReport
Auto Trait Implementations§
impl Freeze for PolicyReport
impl RefUnwindSafe for PolicyReport
impl Send for PolicyReport
impl Sync for PolicyReport
impl Unpin for PolicyReport
impl UnsafeUnpin for PolicyReport
impl UnwindSafe for PolicyReport
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