pub struct OptionalParserPackArtifactManifest {Show 13 fields
pub schema_version: u32,
pub pack_id: String,
pub projectatlas_version: String,
pub platform: PackPlatform,
pub candidate: ParserPackCandidateIdentity,
pub accepted_manifest_sha256: Sha256Digest,
pub capability_set_digest: Blake3Digest,
pub fixture_corpus_sha256: Sha256Digest,
pub source_asset: ParserPackSourceAsset,
pub construction: ParserPackOfflineConstruction,
pub native_audit: ParserPackNativeAudit,
pub measurements: ParserPackPayloadMeasurements,
pub files: Vec<ParserPackPayloadFile>,
}Expand description
Immutable payload and construction manifest for one platform pack artifact.
Fields§
§schema_version: u32Artifact-manifest schema version.
pack_id: StringStable logical pack identity.
projectatlas_version: StringIntended ProjectAtlas release line.
platform: PackPlatformRequired native target.
candidate: ParserPackCandidateIdentityExact source/toolchain identity for the packaged worker.
accepted_manifest_sha256: Sha256DigestSHA-256 of the exact accepted logical manifest bytes.
capability_set_digest: Blake3DigestLogical accepted capability digest.
fixture_corpus_sha256: Sha256DigestSHA-256 of the exact retained fixture corpus bytes.
source_asset: ParserPackSourceAssetPinned upstream native asset identity.
construction: ParserPackOfflineConstructionNetwork-disabled and dependency-offline construction state.
native_audit: ParserPackNativeAuditClosed native audit result.
measurements: ParserPackPayloadMeasurementsDerived payload measurements.
files: Vec<ParserPackPayloadFile>Strictly path-sorted payload inventory, excluding this manifest.
Implementations§
Source§impl OptionalParserPackArtifactManifest
impl OptionalParserPackArtifactManifest
Sourcepub fn validate(
&self,
logical: &OptionalParserPackManifest,
) -> Result<(), OptionalParserPackManifestError>
pub fn validate( &self, logical: &OptionalParserPackManifest, ) -> Result<(), OptionalParserPackManifestError>
Validate one immutable platform artifact against the accepted logical manifest.
The artifact manifest intentionally excludes its own file from files; the complete
archive digest in the later platform proof binds that manifest together with its payload.
§Errors
Returns the first binding, construction, native-audit, inventory, or bound violation.
Trait Implementations§
Source§impl Clone for OptionalParserPackArtifactManifest
impl Clone for OptionalParserPackArtifactManifest
Source§fn clone(&self) -> OptionalParserPackArtifactManifest
fn clone(&self) -> OptionalParserPackArtifactManifest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for OptionalParserPackArtifactManifest
impl<'de> Deserialize<'de> for OptionalParserPackArtifactManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for OptionalParserPackArtifactManifest
impl PartialEq for OptionalParserPackArtifactManifest
Source§fn eq(&self, other: &OptionalParserPackArtifactManifest) -> bool
fn eq(&self, other: &OptionalParserPackArtifactManifest) -> bool
self and other values to be equal, and is used by ==.impl Eq for OptionalParserPackArtifactManifest
impl StructuralPartialEq for OptionalParserPackArtifactManifest
Auto Trait Implementations§
impl Freeze for OptionalParserPackArtifactManifest
impl RefUnwindSafe for OptionalParserPackArtifactManifest
impl Send for OptionalParserPackArtifactManifest
impl Sync for OptionalParserPackArtifactManifest
impl Unpin for OptionalParserPackArtifactManifest
impl UnwindSafe for OptionalParserPackArtifactManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.