pub trait Key {
// Required method
fn key(&self) -> Pubkey;
}
Expand description
Defines the Pubkey of an account.
Required Methods§
Implementors§
impl Key for Signer<'_>
impl Key for SystemAccount<'_>
impl Key for UncheckedAccount<'_>
impl Key for AccountInfo<'_>
impl Key for Pubkey
impl<T> Key for LazyAccount<'_, T>
Available on crate feature
lazy-account
only.