pub struct PackagedBodyCoverageSummary {
pub body_count: usize,
pub bodies: Vec<CelestialBody>,
}Expand description
Structured coverage summary for the bodies bundled into the packaged artifact.
Fields§
§body_count: usizeNumber of bodies bundled into the packaged artifact.
bodies: Vec<CelestialBody>Bodies bundled into the packaged artifact.
Implementations§
Source§impl PackagedBodyCoverageSummary
impl PackagedBodyCoverageSummary
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Returns the bundled body set as a compact human-readable line.
Sourcepub fn validate(&self) -> Result<(), PackagedBodyCoverageSummaryValidationError>
pub fn validate(&self) -> Result<(), PackagedBodyCoverageSummaryValidationError>
Returns Ok(()) when the summary still matches the bundled body set.
Sourcepub fn validated_summary_line(
&self,
) -> Result<String, PackagedBodyCoverageSummaryValidationError>
pub fn validated_summary_line( &self, ) -> Result<String, PackagedBodyCoverageSummaryValidationError>
Returns the bundled body set as a validated compact human-readable line.
Trait Implementations§
Source§impl Clone for PackagedBodyCoverageSummary
impl Clone for PackagedBodyCoverageSummary
Source§impl Debug for PackagedBodyCoverageSummary
impl Debug for PackagedBodyCoverageSummary
impl Eq for PackagedBodyCoverageSummary
impl StructuralPartialEq for PackagedBodyCoverageSummary
Auto Trait Implementations§
impl Freeze for PackagedBodyCoverageSummary
impl RefUnwindSafe for PackagedBodyCoverageSummary
impl Send for PackagedBodyCoverageSummary
impl Sync for PackagedBodyCoverageSummary
impl Unpin for PackagedBodyCoverageSummary
impl UnsafeUnpin for PackagedBodyCoverageSummary
impl UnwindSafe for PackagedBodyCoverageSummary
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