pub struct RewardAccountList(/* private fields */);
Implementations§
Source§impl RewardAccountList
impl RewardAccountList
pub fn add(&mut self, elem: &RewardAccount)
Trait Implementations§
Source§impl AsRef<[RewardAddress]> for RewardAccountList
impl AsRef<[RewardAddress]> for RewardAccountList
Source§fn as_ref(&self) -> &[RewardAccount] ⓘ
fn as_ref(&self) -> &[RewardAccount] ⓘ
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<Vec<RewardAddress>> for RewardAccountList
impl AsRef<Vec<RewardAddress>> for RewardAccountList
Source§impl Clone for RewardAccountList
impl Clone for RewardAccountList
Source§fn clone(&self) -> RewardAccountList
fn clone(&self) -> RewardAccountList
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 RewardAccountList
impl Debug for RewardAccountList
Source§impl From<RewardAccountList> for JsValue
impl From<RewardAccountList> for JsValue
Source§fn from(value: RewardAccountList) -> Self
fn from(value: RewardAccountList) -> Self
Converts to this type from the input type.
Source§impl From<Vec<RewardAddress>> for RewardAccountList
impl From<Vec<RewardAddress>> for RewardAccountList
Source§fn from(native: Vec<RewardAccount>) -> Self
fn from(native: Vec<RewardAccount>) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for RewardAccountList
impl FromWasmAbi for RewardAccountList
Source§impl Into<Vec<RewardAddress>> for RewardAccountList
impl Into<Vec<RewardAddress>> for RewardAccountList
Source§impl IntoWasmAbi for RewardAccountList
impl IntoWasmAbi for RewardAccountList
Source§impl RefFromWasmAbi for RewardAccountList
impl RefFromWasmAbi for RewardAccountList
Source§type Anchor = RcRef<RewardAccountList>
type Anchor = RcRef<RewardAccountList>
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 TryFromJsValue for RewardAccountList
impl TryFromJsValue for RewardAccountList
Source§impl VectorFromWasmAbi for RewardAccountList
impl VectorFromWasmAbi for RewardAccountList
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[RewardAccountList]>
Source§impl VectorIntoJsValue for RewardAccountList
impl VectorIntoJsValue for RewardAccountList
fn vector_into_jsvalue(vector: Box<[RewardAccountList]>) -> JsValue
Source§impl VectorIntoWasmAbi for RewardAccountList
impl VectorIntoWasmAbi for RewardAccountList
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[RewardAccountList]>) -> Self::Abi
Source§impl WasmDescribeVector for RewardAccountList
impl WasmDescribeVector for RewardAccountList
impl SupportsConstructor for RewardAccountList
impl SupportsInstanceProperty for RewardAccountList
impl SupportsStaticProperty for RewardAccountList
Auto Trait Implementations§
impl Freeze for RewardAccountList
impl RefUnwindSafe for RewardAccountList
impl Send for RewardAccountList
impl Sync for RewardAccountList
impl Unpin for RewardAccountList
impl UnwindSafe for RewardAccountList
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
.