pub trait ApiAccount {
// Required method
fn new(
&mut self,
ack_authority: Pubkey,
authority: Pubkey,
base_url: String,
) -> Result<()>;
}Expand description
ApiAccount
Required Methods§
fn new( &mut self, ack_authority: Pubkey, authority: Pubkey, base_url: String, ) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".