pub struct LegacySourceProvenance {
pub source_hash: HashId<ArtifactFile>,
pub declared_ast_version: Option<String>,
pub normalized_ast_version: String,
pub legacy_content_hash: Option<String>,
pub normalizer_contract_version: String,
}Fields§
§source_hash: HashId<ArtifactFile>§declared_ast_version: Option<String>§normalized_ast_version: String§legacy_content_hash: Option<String>§normalizer_contract_version: StringTrait Implementations§
Source§impl Clone for LegacySourceProvenance
impl Clone for LegacySourceProvenance
Source§fn clone(&self) -> LegacySourceProvenance
fn clone(&self) -> LegacySourceProvenance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LegacySourceProvenance
impl Debug for LegacySourceProvenance
Source§impl<'de> Deserialize<'de> for LegacySourceProvenance
impl<'de> Deserialize<'de> for LegacySourceProvenance
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
Auto Trait Implementations§
impl Freeze for LegacySourceProvenance
impl RefUnwindSafe for LegacySourceProvenance
impl Send for LegacySourceProvenance
impl Sync for LegacySourceProvenance
impl Unpin for LegacySourceProvenance
impl UnsafeUnpin for LegacySourceProvenance
impl UnwindSafe for LegacySourceProvenance
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