pub struct BURN(/* private fields */);
Expand description
Burns amount
coins of the asset ID created from sub_id
for the current contract.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BURN
impl<'de> Deserialize<'de> for BURN
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 From<BURN> for Instruction
impl From<BURN> for Instruction
source§impl FromWasmAbi for BURN
impl FromWasmAbi for BURN
source§impl IntoWasmAbi for BURN
impl IntoWasmAbi for BURN
source§impl LongRefFromWasmAbi for BURN
impl LongRefFromWasmAbi for BURN
source§impl OptionFromWasmAbi for BURN
impl OptionFromWasmAbi for BURN
source§impl OptionIntoWasmAbi for BURN
impl OptionIntoWasmAbi for BURN
source§impl PartialEq for BURN
impl PartialEq for BURN
source§impl RefFromWasmAbi for BURN
impl RefFromWasmAbi for BURN
source§impl RefMutFromWasmAbi for BURN
impl RefMutFromWasmAbi for BURN
source§impl TryFromJsValue for BURN
impl TryFromJsValue for BURN
source§impl VectorFromWasmAbi for BURN
impl VectorFromWasmAbi for BURN
source§impl VectorIntoWasmAbi for BURN
impl VectorIntoWasmAbi for BURN
impl Copy for BURN
impl Eq for BURN
impl StructuralPartialEq for BURN
Auto Trait Implementations§
impl Freeze for BURN
impl RefUnwindSafe for BURN
impl Send for BURN
impl Sync for BURN
impl Unpin for BURN
impl UnwindSafe for BURN
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.