pub struct SetReport { /* private fields */ }Available on crate features
testing only.Expand description
Reports of every model of a set, and the model ids that the settings specify and that are missing from the set.
Implementations§
Source§impl SetReport
impl SetReport
Sourcepub fn reports(&self) -> &[ModelReport]
pub fn reports(&self) -> &[ModelReport]
Report of each model, in the set’s order.
Sourcepub fn unknown_models(&self) -> &[String]
pub fn unknown_models(&self) -> &[String]
Model ids that an override or an exemption specifies and that are missing from the set, each once.
Sourcepub fn passed(&self) -> bool
pub fn passed(&self) -> bool
Returns whether every model passed and the settings specify no model missing from the set.
Sourcepub fn assert_passed(&self)
pub fn assert_passed(&self)
Asserts that every model passed and the settings specify no model missing from the set.
§Panics
Panics with a summary line, then every model’s report and every model id missing from the set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetReport
impl RefUnwindSafe for SetReport
impl Send for SetReport
impl Sync for SetReport
impl Unpin for SetReport
impl UnsafeUnpin for SetReport
impl UnwindSafe for SetReport
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more