Struct abstract_core::objects::dependency::StaticDependency
source · pub struct StaticDependency {
pub id: ModuleId<'static>,
pub version_req: &'static [&'static str],
}
Expand description
Statically defined dependency used in-contract
Fields§
§id: ModuleId<'static>
§version_req: &'static [&'static str]
Implementations§
Trait Implementations§
source§impl Clone for StaticDependency
impl Clone for StaticDependency
source§fn clone(&self) -> StaticDependency
fn clone(&self) -> StaticDependency
Returns a copy 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 StaticDependency
impl Debug for StaticDependency
source§impl From<&StaticDependency> for Dependency
impl From<&StaticDependency> for Dependency
source§fn from(dep: &StaticDependency) -> Self
fn from(dep: &StaticDependency) -> Self
Converts to this type from the input type.
source§impl PartialEq<StaticDependency> for StaticDependency
impl PartialEq<StaticDependency> for StaticDependency
source§fn eq(&self, other: &StaticDependency) -> bool
fn eq(&self, other: &StaticDependency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.