pub struct CompiledPackageInfo {
pub package_name: PackageName,
pub address_alias_instantiation: ResolvedTable,
pub source_digest: Option<PackageDigest>,
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: PackageNameThe name of the compiled package
address_alias_instantiation: ResolvedTableThe instantiations for all named addresses that were used for compilation
source_digest: Option<PackageDigest>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: BuildConfigThe build flags that were used when compiling this package.
Trait Implementations
sourceimpl Clone for CompiledPackageInfo
impl Clone for CompiledPackageInfo
sourcefn clone(&self) -> CompiledPackageInfo
fn clone(&self) -> CompiledPackageInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CompiledPackageInfo
impl Debug for CompiledPackageInfo
sourceimpl<'de> Deserialize<'de> for CompiledPackageInfo
impl<'de> Deserialize<'de> for CompiledPackageInfo
sourcefn 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
sourceimpl Serialize for CompiledPackageInfo
impl Serialize for CompiledPackageInfo
Auto Trait Implementations
impl RefUnwindSafe for CompiledPackageInfo
impl Send for CompiledPackageInfo
impl Sync for CompiledPackageInfo
impl Unpin for CompiledPackageInfo
impl UnwindSafe for CompiledPackageInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more