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§
Source§impl Clone for PackagedArtifactTargetThresholdScopeSummary
impl Clone for PackagedArtifactTargetThresholdScopeSummary
Source§fn clone(&self) -> PackagedArtifactTargetThresholdScopeSummary
fn clone(&self) -> PackagedArtifactTargetThresholdScopeSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for PackagedArtifactTargetThresholdScopeSummary
impl PartialEq for PackagedArtifactTargetThresholdScopeSummary
Source§fn eq(&self, other: &PackagedArtifactTargetThresholdScopeSummary) -> bool
fn eq(&self, other: &PackagedArtifactTargetThresholdScopeSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.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