pub struct FileDelta {
pub path: String,
pub before: Option<f64>,
pub after: Option<f64>,
}Expand description
Per-file project coverage delta (requires a baseline report).
Fields§
§path: StringRepo-relative head path.
before: Option<f64>Baseline coverage percentage (None for a file new to head).
after: Option<f64>Head coverage percentage (None when the file has no executable lines).
Implementations§
Trait Implementations§
impl StructuralPartialEq for FileDelta
Auto Trait Implementations§
impl Freeze for FileDelta
impl RefUnwindSafe for FileDelta
impl Send for FileDelta
impl Sync for FileDelta
impl Unpin for FileDelta
impl UnsafeUnpin for FileDelta
impl UnwindSafe for FileDelta
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