pub struct Finding {
pub path: PathBuf,
pub line: usize,
pub kind: FindingKind,
pub message: String,
pub repository: Option<String>,
pub workflow_path: Option<String>,
pub savings: Micros,
pub method: SavingsMethod,
/* private fields */
}Expand description
One cause, pointing at a file line.
Fields§
§path: PathBuf§line: usize§kind: FindingKind§message: String§repository: Option<String>Set on invoice findings so the row stays on its repository workflow.
workflow_path: Option<String>Workflow path this finding is listed under.
Invoice findings set this together with repository. Findings copied
from a local reusable workflow set it to the caller
(.github/workflows/<file>) and leave repository empty. path and
line stay on the callee file.
savings: MicrosUSD this finding would avoid.
method: SavingsMethodRule that produced savings.
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