pub trait KeyedAccountReader: AccountReader {
// Required method
fn key(&self) -> &Pubkey;
}
Expand description
Like AccountReader, but can also get the account pubkey
pub trait KeyedAccountReader: AccountReader {
// Required method
fn key(&self) -> &Pubkey;
}
Like AccountReader, but can also get the account pubkey