pub trait RequestAccount {
    fn pubkey(&self) -> Pubkey;
    fn init(
        &mut self,
        api: &Account<'_, Api>,
        caller: Pubkey,
        created_at: u64,
        fee_amount: u64,
        headers: HashMap<String, String>,
        id: String,
        method: HttpMethod,
        route: String,
        workers: Vec<Pubkey>
    ) -> Result<()>; }
Expand description

RequestAccount

Required Methods§

source

fn pubkey(&self) -> Pubkey

source

fn init(
    &mut self,
    api: &Account<'_, Api>,
    caller: Pubkey,
    created_at: u64,
    fee_amount: u64,
    headers: HashMap<String, String>,
    id: String,
    method: HttpMethod,
    route: String,
    workers: Vec<Pubkey>
) -> Result<()>

Implementations on Foreign Types§

source§

impl RequestAccount for Account<'_, Request>

source§

fn pubkey(&self) -> Pubkey

source§

fn init(
    &mut self,
    api: &Account<'_, Api>,
    caller: Pubkey,
    created_at: u64,
    fee_amount: u64,
    headers: HashMap<String, String>,
    id: String,
    method: HttpMethod,
    route: String,
    workers: Vec<Pubkey>
) -> Result<()>

Implementors§