pub struct PackagedArtifactTargetThresholdSummary {
pub profile_id: &'static str,
pub state: PackagedArtifactTargetThresholdState,
pub scopes: &'static [&'static str],
pub fit_envelope: PackagedArtifactFitEnvelopeSummary,
pub scope_envelopes: PackagedArtifactTargetThresholdScopeEnvelopesSummary,
pub phase2_corpus_alignment: PackagedArtifactPhase2CorpusAlignmentSummary,
}Expand description
Structured target-threshold posture for the packaged artifact generator.
Fields§
§profile_id: &'static strStable identifier for the release profile that the thresholds apply to.
state: PackagedArtifactTargetThresholdStateCurrent release posture for the production thresholds.
scopes: &'static [&'static str]Body-class scopes covered by the current threshold policy.
fit_envelope: PackagedArtifactFitEnvelopeSummaryMeasured fit envelope captured for the current packaged artifact posture.
scope_envelopes: PackagedArtifactTargetThresholdScopeEnvelopesSummaryBody-class-specific fit envelopes captured for the current packaged artifact posture.
phase2_corpus_alignment: PackagedArtifactPhase2CorpusAlignmentSummaryPhase-2 corpus evidence that keeps the threshold posture aligned with the current corpus.
Implementations§
Source§impl PackagedArtifactTargetThresholdSummary
impl PackagedArtifactTargetThresholdSummary
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Returns the target-threshold posture as a compact human-readable line.
Sourcepub fn validate(
&self,
) -> Result<(), PackagedArtifactTargetThresholdSummaryValidationError>
pub fn validate( &self, ) -> Result<(), PackagedArtifactTargetThresholdSummaryValidationError>
Returns Ok(()) when the summary still matches the current packaged-artifact posture.
Sourcepub fn validated_summary_line(
&self,
) -> Result<String, PackagedArtifactTargetThresholdSummaryValidationError>
pub fn validated_summary_line( &self, ) -> Result<String, PackagedArtifactTargetThresholdSummaryValidationError>
Returns the validated target-threshold posture as a compact human-readable line.
Trait Implementations§
impl StructuralPartialEq for PackagedArtifactTargetThresholdSummary
Auto Trait Implementations§
impl Freeze for PackagedArtifactTargetThresholdSummary
impl RefUnwindSafe for PackagedArtifactTargetThresholdSummary
impl Send for PackagedArtifactTargetThresholdSummary
impl Sync for PackagedArtifactTargetThresholdSummary
impl Unpin for PackagedArtifactTargetThresholdSummary
impl UnsafeUnpin for PackagedArtifactTargetThresholdSummary
impl UnwindSafe for PackagedArtifactTargetThresholdSummary
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