pub enum AccountIndex {
ProgramId,
SafeTokenMint,
SafeTokenOwner,
}
Variants§
Trait Implementations§
source§impl Clone for AccountIndex
impl Clone for AccountIndex
source§fn clone(&self) -> AccountIndex
fn clone(&self) -> AccountIndex
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 AccountIndex
impl Debug for AccountIndex
source§impl Hash for AccountIndex
impl Hash for AccountIndex
source§impl PartialEq<AccountIndex> for AccountIndex
impl PartialEq<AccountIndex> for AccountIndex
source§fn eq(&self, other: &AccountIndex) -> bool
fn eq(&self, other: &AccountIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AccountIndex
impl StructuralEq for AccountIndex
impl StructuralPartialEq for AccountIndex
Auto Trait Implementations§
impl RefUnwindSafe for AccountIndex
impl Send for AccountIndex
impl Sync for AccountIndex
impl Unpin for AccountIndex
impl UnwindSafe for AccountIndex
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.