pub trait Key {
// Required method
fn key(&self) -> Pubkey;
}Expand description
Defines the Pubkey of an account.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".