Skip to main content

Key

Trait Key 

Source
pub trait Key {
    // Required method
    fn key(&self) -> Pubkey;
}
Expand description

Defines the Pubkey of an account.

Required Methods§

Source

fn key(&self) -> Pubkey

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§