pub struct PackagedArtifactTargetThresholdScopeEnvelopesSummary {
pub scope_envelopes: Vec<PackagedArtifactTargetThresholdScopeSummary>,
}Fields§
§scope_envelopes: Vec<PackagedArtifactTargetThresholdScopeSummary>Scope-specific fit envelopes that make up the current packaged-artifact posture.
Implementations§
Source§impl PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl PackagedArtifactTargetThresholdScopeEnvelopesSummary
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Returns the scope-envelope posture as a compact human-readable line.
Sourcepub fn validate(
&self,
) -> Result<(), PackagedArtifactTargetThresholdScopeEnvelopesSummaryValidationError>
pub fn validate( &self, ) -> Result<(), PackagedArtifactTargetThresholdScopeEnvelopesSummaryValidationError>
Returns Ok(()) when the scope-envelope posture still matches the current packaged-artifact posture.
Sourcepub fn validated_summary_line(
&self,
) -> Result<String, PackagedArtifactTargetThresholdScopeEnvelopesSummaryValidationError>
pub fn validated_summary_line( &self, ) -> Result<String, PackagedArtifactTargetThresholdScopeEnvelopesSummaryValidationError>
Returns the validated scope-envelope posture as a compact human-readable line.
Trait Implementations§
Source§impl Clone for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl Clone for PackagedArtifactTargetThresholdScopeEnvelopesSummary
Source§fn clone(&self) -> PackagedArtifactTargetThresholdScopeEnvelopesSummary
fn clone(&self) -> PackagedArtifactTargetThresholdScopeEnvelopesSummary
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 PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl PartialEq for PackagedArtifactTargetThresholdScopeEnvelopesSummary
Source§fn eq(
&self,
other: &PackagedArtifactTargetThresholdScopeEnvelopesSummary,
) -> bool
fn eq( &self, other: &PackagedArtifactTargetThresholdScopeEnvelopesSummary, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackagedArtifactTargetThresholdScopeEnvelopesSummary
Auto Trait Implementations§
impl Freeze for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl RefUnwindSafe for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl Send for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl Sync for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl Unpin for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl UnsafeUnpin for PackagedArtifactTargetThresholdScopeEnvelopesSummary
impl UnwindSafe for PackagedArtifactTargetThresholdScopeEnvelopesSummary
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