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§
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<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".