pub struct OptionalParserPackRegistryBinding {
pub registry_version: u32,
pub registry_digest: Blake3Digest,
pub accepted_set_version: u32,
pub accepted_set_digest: Blake3Digest,
}Expand description
Exact binding to the language registry that admitted optional candidates.
Fields§
§registry_version: u32Language capability registry schema version.
registry_digest: Blake3DigestDigest of achieved registry truth and detector rules.
accepted_set_version: u32Accepted language capability-set version.
accepted_set_digest: Blake3DigestDigest of accepted language minimums.
Implementations§
Source§impl OptionalParserPackRegistryBinding
impl OptionalParserPackRegistryBinding
Sourcepub fn current() -> Result<Self, OptionalParserPackManifestError>
pub fn current() -> Result<Self, OptionalParserPackManifestError>
Capture the current authoritative language-registry identity.
§Errors
Returns an error only if an internal registry digest is not canonical.
Trait Implementations§
Source§impl Clone for OptionalParserPackRegistryBinding
impl Clone for OptionalParserPackRegistryBinding
Source§fn clone(&self) -> OptionalParserPackRegistryBinding
fn clone(&self) -> OptionalParserPackRegistryBinding
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 OptionalParserPackRegistryBinding
impl<'de> Deserialize<'de> for OptionalParserPackRegistryBinding
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 OptionalParserPackRegistryBinding
impl PartialEq for OptionalParserPackRegistryBinding
Source§fn eq(&self, other: &OptionalParserPackRegistryBinding) -> bool
fn eq(&self, other: &OptionalParserPackRegistryBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OptionalParserPackRegistryBinding
impl StructuralPartialEq for OptionalParserPackRegistryBinding
Auto Trait Implementations§
impl Freeze for OptionalParserPackRegistryBinding
impl RefUnwindSafe for OptionalParserPackRegistryBinding
impl Send for OptionalParserPackRegistryBinding
impl Sync for OptionalParserPackRegistryBinding
impl Unpin for OptionalParserPackRegistryBinding
impl UnwindSafe for OptionalParserPackRegistryBinding
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.