pub struct UntestedExportFinding {
pub export: UntestedExport,
pub actions: Vec<UntestedExportAction>,
}Expand description
Wire-shape envelope for an UntestedExport finding. Same pattern as
UntestedFileFinding: flattens the bare finding and carries a typed
actions array computed at construction time.
Fields§
§export: UntestedExportThe underlying coverage-gap entry.
actions: Vec<UntestedExportAction>Suggested next steps: an add-test-import primary and a
suppress-file secondary.
Implementations§
Source§impl UntestedExportFinding
impl UntestedExportFinding
Sourcepub fn with_actions(export: UntestedExport, root: &Path) -> Self
pub fn with_actions(export: UntestedExport, root: &Path) -> Self
Build the wrapper from a raw UntestedExport and the project root.
Trait Implementations§
Source§impl Clone for UntestedExportFinding
impl Clone for UntestedExportFinding
Source§impl Debug for UntestedExportFinding
impl Debug for UntestedExportFinding
Source§impl<'de> Deserialize<'de> for UntestedExportFinding
impl<'de> Deserialize<'de> for UntestedExportFinding
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 UntestedExportFinding
impl RefUnwindSafe for UntestedExportFinding
impl Send for UntestedExportFinding
impl Sync for UntestedExportFinding
impl Unpin for UntestedExportFinding
impl UnsafeUnpin for UntestedExportFinding
impl UnwindSafe for UntestedExportFinding
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