pub struct ResolvePackageMetadata {
pub realm: Realm,
pub origin_realm: Realm,
pub source_registry: PackageSourceId,
}Expand description
A single node in the package resolution graph. Origin realm is the “most restrictive” realm the package can still be dependended upon. It is where the package gets placed during install. See [ origin_realm clarification ]. In the resolve function for more info.
Fields§
§realm: Realm§origin_realm: Realm§source_registry: PackageSourceIdTrait Implementations§
Source§impl Clone for ResolvePackageMetadata
impl Clone for ResolvePackageMetadata
Source§fn clone(&self) -> ResolvePackageMetadata
fn clone(&self) -> ResolvePackageMetadata
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 ResolvePackageMetadata
impl Debug for ResolvePackageMetadata
Auto Trait Implementations§
impl Freeze for ResolvePackageMetadata
impl RefUnwindSafe for ResolvePackageMetadata
impl Send for ResolvePackageMetadata
impl Sync for ResolvePackageMetadata
impl Unpin for ResolvePackageMetadata
impl UnwindSafe for ResolvePackageMetadata
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