pub struct GrammarSourceProvenance {
pub repository_url: String,
pub revision: SourceRevision,
pub subdirectory: String,
pub compile_input_sha256: Sha256Digest,
}Expand description
Pinned source subtree and deterministic compile-input identity for one grammar.
Fields§
§repository_url: StringHTTPS source repository.
revision: SourceRevisionFull pinned repository revision.
subdirectory: StringRepository-relative grammar subtree, or . for repository root.
compile_input_sha256: Sha256DigestSHA-256 of every admitted grammar compile input in canonical order.
Trait Implementations§
Source§impl Clone for GrammarSourceProvenance
impl Clone for GrammarSourceProvenance
Source§fn clone(&self) -> GrammarSourceProvenance
fn clone(&self) -> GrammarSourceProvenance
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 Debug for GrammarSourceProvenance
impl Debug for GrammarSourceProvenance
Source§impl<'de> Deserialize<'de> for GrammarSourceProvenance
impl<'de> Deserialize<'de> for GrammarSourceProvenance
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 GrammarSourceProvenance
impl PartialEq for GrammarSourceProvenance
Source§impl Serialize for GrammarSourceProvenance
impl Serialize for GrammarSourceProvenance
impl Eq for GrammarSourceProvenance
impl StructuralPartialEq for GrammarSourceProvenance
Auto Trait Implementations§
impl Freeze for GrammarSourceProvenance
impl RefUnwindSafe for GrammarSourceProvenance
impl Send for GrammarSourceProvenance
impl Sync for GrammarSourceProvenance
impl Unpin for GrammarSourceProvenance
impl UnwindSafe for GrammarSourceProvenance
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.