pub struct PackagedArtifactTargetThresholdScopeSummary {
pub scope: &'static str,
pub bodies: Vec<CelestialBody>,
pub body_count: usize,
pub fit_envelope: PackagedArtifactFitEnvelopeSummary,
}Fields§
§scope: &'static strRelease-scoped body class that the fit envelope applies to.
bodies: Vec<CelestialBody>Bundled bodies that contribute to the scope envelope.
body_count: usizeBundled bodies that contribute to the scope envelope.
fit_envelope: PackagedArtifactFitEnvelopeSummaryMeasured fit envelope for the scoped body set.
Implementations§
Source§impl PackagedArtifactTargetThresholdScopeSummary
impl PackagedArtifactTargetThresholdScopeSummary
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Returns the scope-specific fit posture as a compact human-readable line.
Sourcepub fn validated_summary_line(
&self,
) -> Result<String, PackagedArtifactFitEnvelopeSummaryValidationError>
pub fn validated_summary_line( &self, ) -> Result<String, PackagedArtifactFitEnvelopeSummaryValidationError>
Returns the validated scope-specific fit posture as a compact human-readable line.
Sourcepub fn validate(
&self,
) -> Result<(), PackagedArtifactFitEnvelopeSummaryValidationError>
pub fn validate( &self, ) -> Result<(), PackagedArtifactFitEnvelopeSummaryValidationError>
Returns Ok(()) when the scope summary still matches the current packaged-artifact posture.
Trait Implementations§
impl StructuralPartialEq for PackagedArtifactTargetThresholdScopeSummary
Auto Trait Implementations§
impl Freeze for PackagedArtifactTargetThresholdScopeSummary
impl RefUnwindSafe for PackagedArtifactTargetThresholdScopeSummary
impl Send for PackagedArtifactTargetThresholdScopeSummary
impl Sync for PackagedArtifactTargetThresholdScopeSummary
impl Unpin for PackagedArtifactTargetThresholdScopeSummary
impl UnsafeUnpin for PackagedArtifactTargetThresholdScopeSummary
impl UnwindSafe for PackagedArtifactTargetThresholdScopeSummary
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