pub struct ResolvedDependency {
pub source: ResolvedSource,
pub version: Version,
pub checksum: ContentHash,
pub signer: Option<VerifyingKey>,
pub dependencies: BTreeMap<DependencyName, ResolvedDependency>,
}Expand description
One resolved dependency in a ResolvedTree.
Fields§
§source: ResolvedSourceThe resolved source.
version: VersionThe version declared in the module’s module.json.
checksum: ContentHashThe module’s content hash.
signer: Option<VerifyingKey>The signer’s public key, if the module was signed.
dependencies: BTreeMap<DependencyName, ResolvedDependency>The module’s transitive resolved dependencies.
Trait Implementations§
Source§impl Clone for ResolvedDependency
impl Clone for ResolvedDependency
Source§fn clone(&self) -> ResolvedDependency
fn clone(&self) -> ResolvedDependency
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 ResolvedDependency
impl Debug for ResolvedDependency
impl Eq for ResolvedDependency
Source§impl PartialEq for ResolvedDependency
impl PartialEq for ResolvedDependency
impl StructuralPartialEq for ResolvedDependency
Auto Trait Implementations§
impl Freeze for ResolvedDependency
impl RefUnwindSafe for ResolvedDependency
impl Send for ResolvedDependency
impl Sync for ResolvedDependency
impl Unpin for ResolvedDependency
impl UnsafeUnpin for ResolvedDependency
impl UnwindSafe for ResolvedDependency
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.