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 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 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
Source§type Anchor = RcRef<MapRewardAccountToCoin>
type Anchor = RcRef<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.Source§impl VectorFromWasmAbi for MapRewardAccountToCoin
impl VectorFromWasmAbi for MapRewardAccountToCoin
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MapRewardAccountToCoin]>
Source§impl VectorIntoJsValue for MapRewardAccountToCoin
impl VectorIntoJsValue for MapRewardAccountToCoin
fn vector_into_jsvalue(vector: Box<[MapRewardAccountToCoin]>) -> JsValue
Source§impl VectorIntoWasmAbi for MapRewardAccountToCoin
impl VectorIntoWasmAbi for MapRewardAccountToCoin
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MapRewardAccountToCoin]>) -> Self::Abi
Source§impl WasmDescribeVector for MapRewardAccountToCoin
impl WasmDescribeVector for MapRewardAccountToCoin
impl SupportsConstructor for MapRewardAccountToCoin
impl SupportsInstanceProperty for MapRewardAccountToCoin
impl SupportsStaticProperty for MapRewardAccountToCoin
Auto Trait Implementations§
impl Freeze for MapRewardAccountToCoin
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§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
.