#[non_exhaustive]pub enum ContractWasmAPIVersion {
V1(WrappedContract),
}
Expand description
Contains the different versions available for WASM contracts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1(WrappedContract)
Trait Implementations§
Source§impl Clone for ContractWasmAPIVersion
impl Clone for ContractWasmAPIVersion
Source§fn clone(&self) -> ContractWasmAPIVersion
fn clone(&self) -> ContractWasmAPIVersion
Returns a duplicate 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 ContractWasmAPIVersion
impl Debug for ContractWasmAPIVersion
Source§impl<'de> Deserialize<'de> for ContractWasmAPIVersion
impl<'de> Deserialize<'de> for ContractWasmAPIVersion
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 Display for ContractWasmAPIVersion
impl Display for ContractWasmAPIVersion
Source§impl From<ContractWasmAPIVersion> for ContractContainer
impl From<ContractWasmAPIVersion> for ContractContainer
Source§fn from(value: ContractWasmAPIVersion) -> Self
fn from(value: ContractWasmAPIVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContractWasmAPIVersion
impl PartialEq for ContractWasmAPIVersion
Source§impl Serialize for ContractWasmAPIVersion
impl Serialize for ContractWasmAPIVersion
impl Eq for ContractWasmAPIVersion
impl StructuralPartialEq for ContractWasmAPIVersion
Auto Trait Implementations§
impl Freeze for ContractWasmAPIVersion
impl RefUnwindSafe for ContractWasmAPIVersion
impl Send for ContractWasmAPIVersion
impl Sync for ContractWasmAPIVersion
impl Unpin for ContractWasmAPIVersion
impl UnwindSafe for ContractWasmAPIVersion
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