pub struct ExtensionDependency {
pub id: ExtensionId,
pub contract: ContractVersion,
}Expand description
A dependency that must be available at one exact contract version.
Fields§
§id: ExtensionId§contract: ContractVersionTrait Implementations§
Source§impl Clone for ExtensionDependency
impl Clone for ExtensionDependency
Source§fn clone(&self) -> ExtensionDependency
fn clone(&self) -> ExtensionDependency
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 ExtensionDependency
impl Debug for ExtensionDependency
impl Eq for ExtensionDependency
Source§impl PartialEq for ExtensionDependency
impl PartialEq for ExtensionDependency
impl StructuralPartialEq for ExtensionDependency
Auto Trait Implementations§
impl Freeze for ExtensionDependency
impl RefUnwindSafe for ExtensionDependency
impl Send for ExtensionDependency
impl Sync for ExtensionDependency
impl Unpin for ExtensionDependency
impl UnsafeUnpin for ExtensionDependency
impl UnwindSafe for ExtensionDependency
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.