pub struct AccountSecondaryIndexes {
pub keys: Option<AccountSecondaryIndexesIncludeExclude>,
pub indexes: HashSet<AccountIndex>,
}
Fields§
§keys: Option<AccountSecondaryIndexesIncludeExclude>
§indexes: HashSet<AccountIndex>
Implementations§
source§impl 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§
source§impl Clone for AccountSecondaryIndexes
impl Clone for AccountSecondaryIndexes
source§fn clone(&self) -> AccountSecondaryIndexes
fn clone(&self) -> AccountSecondaryIndexes
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 AccountSecondaryIndexes
impl Debug for AccountSecondaryIndexes
source§impl Default for AccountSecondaryIndexes
impl Default for AccountSecondaryIndexes
source§fn default() -> AccountSecondaryIndexes
fn default() -> AccountSecondaryIndexes
Returns the “default value” for a type. Read more