pub trait ApiAccount {
    fn pubkey(&self) -> Pubkey;
    fn init(
        &mut self,
        ack_authority: Pubkey,
        authority: Pubkey,
        base_url: String
    ) -> Result<()>; }
Expand description

ApiAccount

Required Methods§

source

fn pubkey(&self) -> Pubkey

source

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

Implementations on Foreign Types§

source§

impl ApiAccount for Account<'_, Api>

source§

fn pubkey(&self) -> Pubkey

source§

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

Implementors§