#[non_exhaustive]pub struct ProfileReport {
pub profile: ProfileIdentity,
pub is_compliant: bool,
pub checks_executed: u64,
pub rules_executed: u64,
pub failed_rules: u64,
pub failed_assertions: Vec<Assertion>,
pub passed_assertions: Vec<Assertion>,
pub unsupported_rules: Vec<UnsupportedRule>,
}Expand description
Per-profile 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.profile: ProfileIdentityProfile identity.
is_compliant: boolWhether this profile is compliant.
checks_executed: u64Number of checks executed.
rules_executed: u64Number of rules executed.
failed_rules: u64Number of failed rules.
failed_assertions: Vec<Assertion>Bounded failed assertion details.
passed_assertions: Vec<Assertion>Bounded passed assertion details.
unsupported_rules: Vec<UnsupportedRule>Unsupported required rules.
Implementations§
Source§impl ProfileReport
impl ProfileReport
Sourcepub fn builder() -> ProfileReportBuilder<((), (), (), (), (), (), (), ())>
pub fn builder() -> ProfileReportBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building ProfileReport.
On the builder, call .profile(...), .is_compliant(...), .checks_executed(...), .rules_executed(...), .failed_rules(...), .failed_assertions(...), .passed_assertions(...), .unsupported_rules(...) to set the values of the fields.
Finally, call .build() to create the instance of ProfileReport.
Trait Implementations§
Source§impl Clone for ProfileReport
impl Clone for ProfileReport
Source§fn clone(&self) -> ProfileReport
fn clone(&self) -> ProfileReport
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 ProfileReport
impl Debug for ProfileReport
Source§impl<'de> Deserialize<'de> for ProfileReport
impl<'de> Deserialize<'de> for ProfileReport
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
Auto Trait Implementations§
impl Freeze for ProfileReport
impl RefUnwindSafe for ProfileReport
impl Send for ProfileReport
impl Sync for ProfileReport
impl Unpin for ProfileReport
impl UnsafeUnpin for ProfileReport
impl UnwindSafe for ProfileReport
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