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 Destroy

Source§

impl Owner for Initialize

Source§

impl Owner for Update

Source§

impl Owner for UpdateWithSession

Source§

impl Owner for BoltExecute

Source§

impl Owner for CreateSession

Source§

impl Owner for RevokeSession

Source§

impl Owner for SessionToken

Source§

impl Owner for AddAuthority

Source§

impl Owner for AddEntity

Source§

impl Owner for Apply

Source§

impl Owner for ApplyWithSession

Source§

impl Owner for ApproveSystem

Source§

impl Owner for DestroyComponent

Source§

impl Owner for InitializeComponent

Source§

impl Owner for InitializeNewWorld

Source§

impl Owner for InitializeRegistry

Source§

impl Owner for RemoveAuthority

Source§

impl Owner for RemoveSystem

Source§

impl Owner for Registry

Source§

impl Owner for SystemWhitelist

Source§

impl Owner for World

Implementors§