pub struct ModuleData {
pub module: String,
pub version: String,
pub dependencies: Vec<Dependency>,
pub metadata: Option<String>,
}
Expand description
Represents metadata for abstract modules and abstract native contracts.
Fields§
§module: String
The name of the module, which should be composed of
the publisher’s namespace and module id. eg. cw-plus:cw20-base
version: String
Semantic version of the module’s crate on release. Is used for migration assertions
dependencies: Vec<Dependency>
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 for ModuleData
impl PartialEq for ModuleData
Source§impl Serialize for ModuleData
impl Serialize for ModuleData
impl Eq for ModuleData
impl StructuralPartialEq for ModuleData
Auto Trait Implementations§
impl Freeze for ModuleData
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
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more