Struct abstract_core_testing::objects::module_version::ModuleData
source · pub struct ModuleData {
pub module: String,
pub version: String,
pub dependencies: Vec<Dependency>,
pub metadata: Option<String>,
}
Fields§
§module: String
module is the crate name of the implementing module, eg. crate:cw20-base
we will use other prefixes for other languages, and their standard global namespacing
version: String
version is any string that this implementation knows. It may be simple counter “1”, “2”. or semantic version on release tags “v0.7.0”, or some custom feature flag list. the only code that needs to understand the version parsing is code that knows how to migrate from the given module (and is tied to i’s implementation somehow)
dependencies: Vec<Dependency>
dependencies store a list of modules that this module depends on, along with its version requirements.
metadata: Option<String>
URL to data that follows the Abstract metadata standard for resolving off-chain module information.
Trait Implementations§
source§impl Clone for ModuleData
impl Clone for ModuleData
source§fn clone(&self) -> ModuleData
fn clone(&self) -> ModuleData
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 ModuleData
impl Debug for ModuleData
source§impl<'de> Deserialize<'de> for ModuleData
impl<'de> Deserialize<'de> for ModuleData
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 PartialEq<ModuleData> for ModuleData
impl PartialEq<ModuleData> for ModuleData
source§fn eq(&self, other: &ModuleData) -> bool
fn eq(&self, other: &ModuleData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleData
impl Serialize for ModuleData
impl Eq for ModuleData
impl StructuralEq for ModuleData
impl StructuralPartialEq for ModuleData
Auto Trait Implementations§
impl RefUnwindSafe for ModuleData
impl Send for ModuleData
impl Sync for ModuleData
impl Unpin for ModuleData
impl UnwindSafe for ModuleData
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