pub enum WasmAPIVersion {
V1(WrappedContract),
}Expand description
Contains the different versions available for wasm contracts.
Variants§
V1(WrappedContract)
Trait Implementations§
Source§impl Clone for WasmAPIVersion
impl Clone for WasmAPIVersion
Source§fn clone(&self) -> WasmAPIVersion
fn clone(&self) -> WasmAPIVersion
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 WasmAPIVersion
impl Debug for WasmAPIVersion
Source§impl<'de> Deserialize<'de> for WasmAPIVersion
impl<'de> Deserialize<'de> for WasmAPIVersion
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 WasmAPIVersion
impl Display for WasmAPIVersion
Source§impl PartialEq for WasmAPIVersion
impl PartialEq for WasmAPIVersion
Source§impl Serialize for WasmAPIVersion
impl Serialize for WasmAPIVersion
impl Eq for WasmAPIVersion
impl StructuralPartialEq for WasmAPIVersion
Auto Trait Implementations§
impl Freeze for WasmAPIVersion
impl RefUnwindSafe for WasmAPIVersion
impl Send for WasmAPIVersion
impl Sync for WasmAPIVersion
impl Unpin for WasmAPIVersion
impl UnwindSafe for WasmAPIVersion
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