pub struct CompiledPackageInfo {
pub package_name: PackageName,
pub address_alias_instantiation: ResolvedTable,
pub module_resolution_metadata: ModuleResolutionMetadata,
pub source_digest: Option<String>,
pub build_flags: BuildConfig,
}
Expand description
Represents meta information about a package and the information it was compiled with. Shared
across both the CompiledPackage
and OnDiskCompiledPackage
structs.
Fields§
§package_name: PackageName
The name of the compiled package
address_alias_instantiation: ResolvedTable
The instantiations for all named addresses that were used for compilation
module_resolution_metadata: ModuleResolutionMetadata
The module resolution {
source_digest: Option<String>
The hash of the source directory at the time of compilation. None
if the source for this
package is not available/this package was not compiled.
build_flags: BuildConfig
The build flags that were used when compiling this package.
Trait Implementations§
source§impl Clone for CompiledPackageInfo
impl Clone for CompiledPackageInfo
source§fn clone(&self) -> CompiledPackageInfo
fn clone(&self) -> CompiledPackageInfo
Returns a copy 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 CompiledPackageInfo
impl Debug for CompiledPackageInfo
source§impl<'de> Deserialize<'de> for CompiledPackageInfo
impl<'de> Deserialize<'de> for CompiledPackageInfo
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