pub trait Command {
type Output: DeserializeOwned;
// Required methods
fn path(&self) -> Cow<'static, str>;
fn params(&self) -> Vec<(&'static str, Cow<'_, str>)>;
// Provided method
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 Client
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}