pub struct PackagedArtifactGeneratorParameters {Show 17 fields
pub profile_id: &'static str,
pub label: &'static str,
pub artifact_version: u16,
pub time_range: TimeRange,
pub source_provenance: String,
pub checksum: u64,
pub artifact_size_bytes: usize,
pub body_coverage: PackagedBodyCoverageSummary,
pub residual_body_coverage: ArtifactResidualBodyCoverageSummary,
pub artifact_profile: ArtifactProfile,
pub speed_policy: SpeedPolicy,
pub generation_policy: PackagedArtifactGenerationPolicy,
pub request_policy: PackagedRequestPolicySummary,
pub lookup_epoch_policy: PackagedLookupEpochPolicy,
pub frame_treatment: PackagedFrameTreatmentSummary,
pub storage_summary: PackagedArtifactStorageSummary,
pub target_thresholds: PackagedArtifactTargetThresholdSummary,
}Expand description
Structured generation parameters for the packaged artifact generator.
Fields§
§profile_id: &'static strStable identifier for the generation profile.
label: &'static strHuman-readable generation label.
artifact_version: u16Version of the packaged artifact format.
time_range: TimeRangeCovered time range for the packaged artifact.
source_provenance: StringProvenance summary for the checked-in production-generation corpus.
checksum: u64Deterministic checksum of the checked-in packaged artifact.
artifact_size_bytes: usizeEncoded size of the checked-in packaged artifact in bytes.
body_coverage: PackagedBodyCoverageSummaryBodies bundled into the packaged artifact.
residual_body_coverage: ArtifactResidualBodyCoverageSummaryResidual-bearing body coverage encoded by the packaged artifact.
artifact_profile: ArtifactProfileCapability profile encoded by the packaged artifact.
speed_policy: SpeedPolicyOutput speed policy encoded by the packaged artifact.
generation_policy: PackagedArtifactGenerationPolicyGeneration policy used to turn reference snapshots into segments.
request_policy: PackagedRequestPolicySummaryRequest policy encoded by the packaged artifact.
lookup_epoch_policy: PackagedLookupEpochPolicyLookup-epoch policy encoded by the packaged artifact.
frame_treatment: PackagedFrameTreatmentSummaryFrame-treatment policy encoded by the packaged artifact.
storage_summary: PackagedArtifactStorageSummaryStorage/reconstruction policy encoded by the packaged artifact.
target_thresholds: PackagedArtifactTargetThresholdSummaryRelease-facing statement about the packaged-artifact target thresholds.
Implementations§
Source§impl PackagedArtifactGeneratorParameters
impl PackagedArtifactGeneratorParameters
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Returns the generator parameters as a compact human-readable line.
Sourcepub fn validate(&self) -> Result<(), CompressionError>
pub fn validate(&self) -> Result<(), CompressionError>
Returns Ok(()) when the parameters still match the current packaged-artifact posture.
Sourcepub fn validated_summary_line(&self) -> Result<String, CompressionError>
pub fn validated_summary_line(&self) -> Result<String, CompressionError>
Returns the validated generator parameters summary line.