pub struct BranchSummary {
pub count: u64,
pub covered: u64,
pub notcovered: u64,
pub percent: f32,
}
Expand description
Summary of the branches metric.
Fields§
§count: u64
Total number of branches that cloud potentially be covered,
covered: u64
Number of covered branches.
notcovered: u64
Number of the branches that have not been covered.
percent: f32
The fraction of branches covered in percent.
Trait Implementations§
Source§impl Debug for BranchSummary
impl Debug for BranchSummary
Source§impl<'de> Deserialize<'de> for BranchSummary
impl<'de> Deserialize<'de> for BranchSummary
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
Source§impl PartialEq for BranchSummary
impl PartialEq for BranchSummary
impl StructuralPartialEq for BranchSummary
Auto Trait Implementations§
impl Freeze for BranchSummary
impl RefUnwindSafe for BranchSummary
impl Send for BranchSummary
impl Sync for BranchSummary
impl Unpin for BranchSummary
impl UnwindSafe for BranchSummary
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