pub struct OptionalParserPackProofAggregate {
pub schema_version: u32,
pub pack_id: String,
pub projectatlas_version: String,
pub accepted_manifest_sha256: Sha256Digest,
pub capability_set_digest: Blake3Digest,
pub fixture_corpus_sha256: Sha256Digest,
pub platforms: Vec<OptionalParserPackPlatformProof>,
}Expand description
Exact supported-platform optional parser-pack proof aggregate.
Fields§
§schema_version: u32Aggregate schema version.
pack_id: StringStable logical pack identity.
projectatlas_version: StringIntended ProjectAtlas release line.
accepted_manifest_sha256: Sha256DigestSHA-256 of the shared accepted logical manifest bytes.
capability_set_digest: Blake3DigestShared logical accepted capability digest.
fixture_corpus_sha256: Sha256DigestSHA-256 of the shared retained fixture corpus bytes.
platforms: Vec<OptionalParserPackPlatformProof>Required platform receipts in canonical platform order.
Implementations§
Source§impl OptionalParserPackProofAggregate
impl OptionalParserPackProofAggregate
Sourcepub fn validate(
&self,
logical: &OptionalParserPackManifest,
) -> Result<(), OptionalParserPackManifestError>
pub fn validate( &self, logical: &OptionalParserPackManifest, ) -> Result<(), OptionalParserPackManifestError>
Validate the exact required platform set and shared logical proof identity.
§Errors
Returns an error for a missing, duplicate, failed, dirty, or logically divergent proof.
Trait Implementations§
Source§impl Clone for OptionalParserPackProofAggregate
impl Clone for OptionalParserPackProofAggregate
Source§fn clone(&self) -> OptionalParserPackProofAggregate
fn clone(&self) -> OptionalParserPackProofAggregate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for OptionalParserPackProofAggregate
impl<'de> Deserialize<'de> for OptionalParserPackProofAggregate
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OptionalParserPackProofAggregate
impl PartialEq for OptionalParserPackProofAggregate
Source§fn eq(&self, other: &OptionalParserPackProofAggregate) -> bool
fn eq(&self, other: &OptionalParserPackProofAggregate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OptionalParserPackProofAggregate
impl StructuralPartialEq for OptionalParserPackProofAggregate
Auto Trait Implementations§
impl Freeze for OptionalParserPackProofAggregate
impl RefUnwindSafe for OptionalParserPackProofAggregate
impl Send for OptionalParserPackProofAggregate
impl Sync for OptionalParserPackProofAggregate
impl Unpin for OptionalParserPackProofAggregate
impl UnwindSafe for OptionalParserPackProofAggregate
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
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
Compare self to
key and return true if they are equal.