Owner

Trait Owner 

Source
pub trait Owner {
    // Required method
    fn owner() -> Pubkey;
}
Expand description

Defines an address expected to own an account.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Owner for Mint

Source§

impl Owner for TokenAccount

Implementors§