pub trait AsKeyRef {
fn as_key_ref(&self) -> &Pubkey;
}
Expand description
Defines the Pubkey of an account, fetching it as a reference.
Required Methods
fn as_key_ref(&self) -> &Pubkey
fn as_key_ref(&self) -> &Pubkey
Returns the [Pubkey] of the account or key as a reference.