pub struct DependencyEntry {
pub source: ResolvedSource,
pub version: Version,
pub checksum: ContentHash,
pub signer: Option<VerifyingKey>,
pub dependencies: DependencyMap,
}Expand description
One entry in a DependencyMap.
Fields§
§source: ResolvedSourceThe resolved source for the dependency.
version: VersionThe module’s version at lock time.
checksum: ContentHashThe module’s content hash.
signer: Option<VerifyingKey>The signer’s public key, if the module was signed at lock time.
dependencies: DependencyMapThe module’s transitive dependencies.
Trait Implementations§
Source§impl Clone for DependencyEntry
impl Clone for DependencyEntry
Source§fn clone(&self) -> DependencyEntry
fn clone(&self) -> DependencyEntry
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 DependencyEntry
impl Debug for DependencyEntry
Source§impl<'de> Deserialize<'de> for DependencyEntry
impl<'de> Deserialize<'de> for DependencyEntry
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 DependencyEntry
Source§impl PartialEq for DependencyEntry
impl PartialEq for DependencyEntry
Source§impl Serialize for DependencyEntry
impl Serialize for DependencyEntry
impl StructuralPartialEq for DependencyEntry
Auto Trait Implementations§
impl Freeze for DependencyEntry
impl RefUnwindSafe for DependencyEntry
impl Send for DependencyEntry
impl Sync for DependencyEntry
impl Unpin for DependencyEntry
impl UnsafeUnpin for DependencyEntry
impl UnwindSafe for DependencyEntry
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.