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