#[non_exhaustive]pub struct ReportSummary {
pub total_count: i32,
pub compliant_count: i32,
pub violation_count: i32,
pub manual_review_needed_count: i32,
pub error_count: i32,
/* private fields */
}Expand description
Additional information for an audit operation.
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.total_count: i32Output only. The total number of checks.
compliant_count: i32Output only. The number of compliant checks.
violation_count: i32Output only. The number of checks with violations.
manual_review_needed_count: i32Output only. The number of checks with “manual review needed” status.
error_count: i32Output only. The number of checks that can’t be performed due to errors.
Implementations§
Source§impl ReportSummary
impl ReportSummary
pub fn new() -> Self
Sourcepub fn set_total_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_count<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_compliant_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_compliant_count<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_violation_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_violation_count<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_manual_review_needed_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_manual_review_needed_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of manual_review_needed_count.
§Example
ⓘ
let x = ReportSummary::new().set_manual_review_needed_count(42);Sourcepub fn set_error_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_error_count<T: Into<i32>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ReportSummary
impl Clone for ReportSummary
Source§fn clone(&self) -> ReportSummary
fn clone(&self) -> ReportSummary
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 ReportSummary
impl Debug for ReportSummary
Source§impl Default for ReportSummary
impl Default for ReportSummary
Source§fn default() -> ReportSummary
fn default() -> ReportSummary
Returns the “default value” for a type. Read more
Source§impl Message for ReportSummary
impl Message for ReportSummary
Source§impl PartialEq for ReportSummary
impl PartialEq for ReportSummary
impl StructuralPartialEq for ReportSummary
Auto Trait Implementations§
impl Freeze for ReportSummary
impl RefUnwindSafe for ReportSummary
impl Send for ReportSummary
impl Sync for ReportSummary
impl Unpin for ReportSummary
impl UnwindSafe for ReportSummary
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