pub struct FileMetrics<'a> {
pub filename: &'a str,
pub summary: Summary,
pub branches: Vec<Branch>,
pub segments: Vec<Segment>,
pub expansions: Option<Vec<Expansion<'a>>>,
}
Expand description
Summary of the regions metric.
Fields§
§filename: &'a str
Absolute path to the file.
summary: Summary
Summary of all metrecis.
branches: Vec<Branch>
Branches in this file.
segments: Vec<Segment>
The segments of the file. Each segment starts at some point in the source file, and is “valid” until the next segment start is encountered.
expansions: Option<Vec<Expansion<'a>>>
Expansion of this file. May be None, if the export of expansions have been disabled.
Trait Implementations§
Source§impl<'a> Debug for FileMetrics<'a>
impl<'a> Debug for FileMetrics<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for FileMetrics<'a>
impl<'de: 'a, 'a> Deserialize<'de> for FileMetrics<'a>
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<'a> PartialEq for FileMetrics<'a>
impl<'a> PartialEq for FileMetrics<'a>
impl<'a> StructuralPartialEq for FileMetrics<'a>
Auto Trait Implementations§
impl<'a> Freeze for FileMetrics<'a>
impl<'a> RefUnwindSafe for FileMetrics<'a>
impl<'a> Send for FileMetrics<'a>
impl<'a> Sync for FileMetrics<'a>
impl<'a> Unpin for FileMetrics<'a>
impl<'a> UnwindSafe for FileMetrics<'a>
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