Trait ApiAccount

Source
pub trait ApiAccount {
    // Required method
    fn new(
        &mut self,
        ack_authority: Pubkey,
        authority: Pubkey,
        base_url: String,
    ) -> Result<()>;
}
Expand description

ApiAccount

Required Methods§

Source

fn new( &mut self, ack_authority: Pubkey, authority: Pubkey, base_url: String, ) -> Result<()>

Implementations on Foreign Types§

Source§

impl ApiAccount for Account<'_, Api>

Source§

fn new( &mut self, ack_authority: Pubkey, authority: Pubkey, base_url: String, ) -> Result<()>

Implementors§