pub struct CoreReport {
pub disabled: Option<Count>,
pub errors: Option<Count>,
pub failures: Option<Count>,
pub name: Option<Name>,
pub tests: Option<Count>,
pub testsuites: Vec<CoreTestSuite>,
pub time: Option<Duration>,
pub timestamp: Option<Timestamp>,
}
Fields§
§disabled: Option<Count>
§errors: Option<Count>
§failures: Option<Count>
The total number of rule violations
name: Option<Name>
The label of the scan
tests: Option<Count>
The total number of rules that were applied
testsuites: Vec<CoreTestSuite>
§time: Option<Duration>
The time that was required to process all the rules
timestamp: Option<Timestamp>
Implementations§
Source§impl CoreReport
impl CoreReport
Trait Implementations§
Source§impl Clone for CoreReport
impl Clone for CoreReport
Source§fn clone(&self) -> CoreReport
fn clone(&self) -> CoreReport
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 CoreReport
impl Debug for CoreReport
Source§impl Default for CoreReport
impl Default for CoreReport
Source§fn default() -> CoreReport
fn default() -> CoreReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoreReport
impl<'de> Deserialize<'de> for CoreReport
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 From<&AvailableTests> for CoreReport
impl From<&AvailableTests> for CoreReport
Source§fn from(available_tests: &AvailableTests) -> Self
fn from(available_tests: &AvailableTests) -> Self
Converts to this type from the input type.
Source§impl From<CoreReport> for TestResult
impl From<CoreReport> for TestResult
Source§fn from(x: CoreReport) -> Self
fn from(x: CoreReport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CoreReport
impl RefUnwindSafe for CoreReport
impl Send for CoreReport
impl Sync for CoreReport
impl Unpin for CoreReport
impl UnwindSafe for CoreReport
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