Trait RequestAccount

Source
pub trait RequestAccount {
    // Required method
    fn new(
        &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 new( &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 new( &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§