#[non_exhaustive]pub struct SuiteReport {
pub crate_version: &'static str,
pub specification_version: &'static str,
pub host_platform: String,
pub candidate: CommandReport,
pub cases: Vec<CaseResult>,
pub profile: ConformanceProfile,
pub omitted_exact_case_count: usize,
}Expand description
Serializable report for one suite execution.
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.crate_version: &'static strtreeboot-spec package version.
specification_version: &'static strTreeboot specification version exercised by the suite.
host_platform: StringHost platform reported as Rust’s operating-system and architecture names.
candidate: CommandReportLossy report projection of the native candidate command.
cases: Vec<CaseResult>Ordered case results.
profile: ConformanceProfileCompatibility profile selected for this execution.
omitted_exact_case_count: usizeExact-identity cases excluded by the selected profile and case filter.
Implementations§
Source§impl SuiteReport
impl SuiteReport
Sourcepub const fn profile(&self) -> ConformanceProfile
pub const fn profile(&self) -> ConformanceProfile
Returns the compatibility profile selected for this execution.
Sourcepub const fn omitted_exact_case_count(&self) -> usize
pub const fn omitted_exact_case_count(&self) -> usize
Returns the number of matching exact-identity cases omitted by the profile.
Sourcepub fn passed(&self) -> bool
pub fn passed(&self) -> bool
Returns true when every executed case passed and all other cases skipped.
Sourcepub fn passed_count(&self) -> usize
pub fn passed_count(&self) -> usize
Returns the number of passed cases.
Sourcepub fn skipped_count(&self) -> usize
pub fn skipped_count(&self) -> usize
Returns the number of skipped cases.
Trait Implementations§
Source§impl Clone for SuiteReport
impl Clone for SuiteReport
Source§fn clone(&self) -> SuiteReport
fn clone(&self) -> SuiteReport
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 SuiteReport
impl Debug for SuiteReport
impl Eq for SuiteReport
Source§impl PartialEq for SuiteReport
impl PartialEq for SuiteReport
Source§impl Serialize for SuiteReport
impl Serialize for SuiteReport
impl StructuralPartialEq for SuiteReport
Auto Trait Implementations§
impl Freeze for SuiteReport
impl RefUnwindSafe for SuiteReport
impl Send for SuiteReport
impl Sync for SuiteReport
impl Unpin for SuiteReport
impl UnsafeUnpin for SuiteReport
impl UnwindSafe for SuiteReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.