pub struct Finding {
pub code: &'static str,
pub capability: String,
pub projection: Projection,
pub claim: String,
pub detail: String,
pub source: String,
pub rule: &'static str,
}Expand description
One broken promise: a capability declared an exposure and the surface does not carry it.
The shape follows project.finding-carries-reproduce@1 — a finding names the subject,
what is wrong, where the claim was made, where the surface is declared, and the one
command that shows it again.
Fields§
§code: &'static strThe stable code a reader greps for.
capability: StringThe capability whose claim is unmet.
projection: ProjectionThe interface the claim was about.
claim: StringThe exposure as declared, majordomus why show.
detail: StringWhat is wrong, in one line.
source: StringWhere the capability is declared; repository-relative, never a machine path.
rule: &'static strThe rule the claim belongs to.
Trait Implementations§
impl Eq for Finding
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.