pub struct AccountSecondaryIndexes {
pub keys: Option<AccountSecondaryIndexesIncludeExclude>,
pub indexes: HashSet<AccountIndex>,
}
Fields
keys: Option<AccountSecondaryIndexesIncludeExclude>
indexes: HashSet<AccountIndex>
Implementations
sourceimpl AccountSecondaryIndexes
impl AccountSecondaryIndexes
pub fn is_empty(&self) -> bool
pub fn contains(&self, index: &AccountIndex) -> bool
pub fn include_key(&self, key: &Pubkey) -> bool
Trait Implementations
sourceimpl Clone for AccountSecondaryIndexes
impl Clone for AccountSecondaryIndexes
sourcefn clone(&self) -> AccountSecondaryIndexes
fn clone(&self) -> AccountSecondaryIndexes
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 AccountSecondaryIndexes
impl Debug for AccountSecondaryIndexes
sourceimpl Default for AccountSecondaryIndexes
impl Default for AccountSecondaryIndexes
sourcefn default() -> AccountSecondaryIndexes
fn default() -> AccountSecondaryIndexes
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AccountSecondaryIndexes
impl Send for AccountSecondaryIndexes
impl Sync for AccountSecondaryIndexes
impl Unpin for AccountSecondaryIndexes
impl UnwindSafe for AccountSecondaryIndexes
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