pub struct SourcePackageProvenance {
pub schema_version: u32,
pub package_name: String,
pub materialized_package_name: String,
pub library_name: String,
pub source_digest: String,
pub source_revision: String,
pub crate_name: String,
pub crate_version: String,
pub toolchain_label: String,
pub generated_toolchain_file: bool,
}Expand description
Provenance sidecar for a materialized source package.
Fields§
§schema_version: u32Sidecar schema version.
package_name: StringPublic upstream Lake package name.
materialized_package_name: StringLake package identifier in the materialized root.
library_name: StringLean library/root module name.
source_digest: StringCaller-supplied payload digest.
source_revision: StringCaller-supplied source identity.
crate_name: StringRust crate that owns the payload.
crate_version: StringRust crate version that owns the payload.
toolchain_label: StringRequested Lean toolchain label.
generated_toolchain_file: boolWhether the helper generated the materialized lean-toolchain.
Trait Implementations§
Source§impl Clone for SourcePackageProvenance
impl Clone for SourcePackageProvenance
Source§fn clone(&self) -> SourcePackageProvenance
fn clone(&self) -> SourcePackageProvenance
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 SourcePackageProvenance
impl Debug for SourcePackageProvenance
Source§impl<'de> Deserialize<'de> for SourcePackageProvenance
impl<'de> Deserialize<'de> for SourcePackageProvenance
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
impl Eq for SourcePackageProvenance
Source§impl PartialEq for SourcePackageProvenance
impl PartialEq for SourcePackageProvenance
Source§fn eq(&self, other: &SourcePackageProvenance) -> bool
fn eq(&self, other: &SourcePackageProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourcePackageProvenance
impl Serialize for SourcePackageProvenance
impl StructuralPartialEq for SourcePackageProvenance
Auto Trait Implementations§
impl Freeze for SourcePackageProvenance
impl RefUnwindSafe for SourcePackageProvenance
impl Send for SourcePackageProvenance
impl Sync for SourcePackageProvenance
impl Unpin for SourcePackageProvenance
impl UnsafeUnpin for SourcePackageProvenance
impl UnwindSafe for SourcePackageProvenance
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