Trait ConfigAccount

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

ConfigAccount

Required Methods§

Source

fn init(&mut self, admin: Pubkey, pool_authority: 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, pool_authority: Pubkey) -> Result<()>

Source§

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

Implementors§