Struct cml_chain_wasm::MapRewardAccountToCoin
source · pub struct MapRewardAccountToCoin(/* private fields */);
Implementations§
Trait Implementations§
source§impl AsRef<OrderedHashMap<RewardAddress, u64>> for MapRewardAccountToCoin
impl AsRef<OrderedHashMap<RewardAddress, u64>> for MapRewardAccountToCoin
source§fn as_ref(&self) -> &OrderedHashMap<RewardAccount, Coin>
fn as_ref(&self) -> &OrderedHashMap<RewardAccount, Coin>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for MapRewardAccountToCoin
impl Clone for MapRewardAccountToCoin
source§fn clone(&self) -> MapRewardAccountToCoin
fn clone(&self) -> MapRewardAccountToCoin
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 MapRewardAccountToCoin
impl Debug for MapRewardAccountToCoin
source§impl From<MapRewardAccountToCoin> for JsValue
impl From<MapRewardAccountToCoin> for JsValue
source§fn from(value: MapRewardAccountToCoin) -> Self
fn from(value: MapRewardAccountToCoin) -> Self
Converts to this type from the input type.
source§impl From<OrderedHashMap<RewardAddress, u64>> for MapRewardAccountToCoin
impl From<OrderedHashMap<RewardAddress, u64>> for MapRewardAccountToCoin
source§fn from(native: OrderedHashMap<RewardAccount, Coin>) -> Self
fn from(native: OrderedHashMap<RewardAccount, Coin>) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for MapRewardAccountToCoin
impl FromWasmAbi for MapRewardAccountToCoin
source§impl Into<OrderedHashMap<RewardAddress, u64>> for MapRewardAccountToCoin
impl Into<OrderedHashMap<RewardAddress, u64>> for MapRewardAccountToCoin
source§fn into(self) -> OrderedHashMap<RewardAccount, Coin>
fn into(self) -> OrderedHashMap<RewardAccount, Coin>
Converts this type into the (usually inferred) input type.
source§impl IntoWasmAbi for MapRewardAccountToCoin
impl IntoWasmAbi for MapRewardAccountToCoin
source§impl RefFromWasmAbi for MapRewardAccountToCoin
impl RefFromWasmAbi for MapRewardAccountToCoin
§type Anchor = Ref<'static, MapRewardAccountToCoin>
type Anchor = Ref<'static, MapRewardAccountToCoin>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Auto Trait Implementations§
impl RefUnwindSafe for MapRewardAccountToCoin
impl Send for MapRewardAccountToCoin
impl Sync for MapRewardAccountToCoin
impl Unpin for MapRewardAccountToCoin
impl UnwindSafe for MapRewardAccountToCoin
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
.