pub struct BadgeInput {
pub all_refs_resolved: bool,
pub harness_registered: bool,
pub all_metrics_registered: bool,
}Expand description
What the caller learned from the store, needed to decide the badges that depend on hub state rather than on the record alone.
Fields§
§all_refs_resolved: booltrue when every relations[].to in the record resolved to a stored
version (vacuously true when there are none).
harness_registered: booltrue when harness.name@version exists in the registry.
all_metrics_registered: booltrue when every results[].metric exists in the registry
(vacuously true when there are none).
Trait Implementations§
Source§impl Clone for BadgeInput
impl Clone for BadgeInput
Source§impl Debug for BadgeInput
impl Debug for BadgeInput
Auto Trait Implementations§
impl Freeze for BadgeInput
impl RefUnwindSafe for BadgeInput
impl Send for BadgeInput
impl Sync for BadgeInput
impl Unpin for BadgeInput
impl UnsafeUnpin for BadgeInput
impl UnwindSafe for BadgeInput
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