pub trait ConfigAccount {
    // Required methods
    fn init(&mut self, admin: Pubkey, mint: Pubkey) -> Result<()>;
    fn update(&mut self, settings: ConfigSettings) -> Result<()>;
}
Expand description

ConfigAccount

Required Methods§

source

fn init(&mut self, admin: Pubkey, mint: Pubkey) -> Result<()>

source

fn update(&mut self, settings: ConfigSettings) -> Result<()>

Implementations on Foreign Types§

source§

impl ConfigAccount for Account<'_, Config>

source§

fn init(&mut self, admin: Pubkey, mint: Pubkey) -> Result<()>

source§

fn update(&mut self, settings: ConfigSettings) -> Result<()>

Implementors§