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
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§
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