pub struct UntestedFileFinding {
pub file: UntestedFile,
pub actions: Vec<UntestedFileAction>,
}Expand description
Wire-shape envelope for an UntestedFile finding. Carries the bare
UntestedFile flattened in plus a typed actions array. The action
vec is computed at construction time using a project-root-relative path
so descriptions match strip_root_prefix’s post-pass output on the inner
path field. Schemars derives the merged shape natively; this retires
the augment_finding_definition graft for UntestedFile.
Fields§
§file: UntestedFileThe underlying coverage-gap entry.
actions: Vec<UntestedFileAction>Suggested next steps: an add-tests primary and a suppress-file
secondary. Always emitted for the current wire contract.
Implementations§
Source§impl UntestedFileFinding
impl UntestedFileFinding
Sourcepub fn with_actions(file: UntestedFile, root: &Path) -> Self
pub fn with_actions(file: UntestedFile, root: &Path) -> Self
Build the wrapper from a raw UntestedFile and the project root.
Trait Implementations§
Source§impl Clone for UntestedFileFinding
impl Clone for UntestedFileFinding
Source§impl Debug for UntestedFileFinding
impl Debug for UntestedFileFinding
Source§impl<'de> Deserialize<'de> for UntestedFileFinding
impl<'de> Deserialize<'de> for UntestedFileFinding
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
Auto Trait Implementations§
impl Freeze for UntestedFileFinding
impl RefUnwindSafe for UntestedFileFinding
impl Send for UntestedFileFinding
impl Sync for UntestedFileFinding
impl Unpin for UntestedFileFinding
impl UnsafeUnpin for UntestedFileFinding
impl UnwindSafe for UntestedFileFinding
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