pub enum AccountIndex {
ProgramId,
SplTokenMint,
SplTokenOwner,
}
Variants
ProgramId
SplTokenMint
SplTokenOwner
Trait Implementations
sourceimpl Clone for AccountIndex
impl Clone for AccountIndex
sourcefn clone(&self) -> AccountIndex
fn clone(&self) -> AccountIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AccountIndex
impl Debug for AccountIndex
sourceimpl Hash for AccountIndex
impl Hash for AccountIndex
sourceimpl PartialEq<AccountIndex> for AccountIndex
impl PartialEq<AccountIndex> for AccountIndex
sourcefn eq(&self, other: &AccountIndex) -> bool
fn eq(&self, other: &AccountIndex) -> bool
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
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.