Struct abstract_core::objects::dependency::Dependency
source · pub struct Dependency {
pub id: String,
pub version_req: Vec<Comparator>,
}
Expand description
On-chain stored version of the module dependencies. Retrievable though raw-queries.
Fields§
§id: String
§version_req: Vec<Comparator>
Trait Implementations§
source§impl Clone for Dependency
impl Clone for Dependency
source§fn clone(&self) -> Dependency
fn clone(&self) -> Dependency
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 Dependency
impl Debug for Dependency
source§impl<'de> Deserialize<'de> for Dependency
impl<'de> Deserialize<'de> for Dependency
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
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<Dependency> for Dependency
impl PartialEq<Dependency> for Dependency
source§fn eq(&self, other: &Dependency) -> bool
fn eq(&self, other: &Dependency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.