Struct cw2::ContractVersion [−][src]
Fields
contract: String
contract is the crate name of the implementing contract, 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 contract (and is tied to it’s implementation somehow)
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ContractVersion
impl Send for ContractVersion
impl Sync for ContractVersion
impl Unpin for ContractVersion
impl UnwindSafe for ContractVersion
Blanket Implementations
Mutably borrows from an owned value. Read more