Accounts

Trait Accounts 

Source
pub trait Accounts {
    // Required methods
    fn create_account<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        ticker: &'life1 str,
        name: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn update_account_name<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        id: &'life1 str,
        name: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn list_pending_transactions<'life0, 'life1, 'async_trait>(
        &'life0 self,
        id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_transactions<'life0, 'life1, 'async_trait>(
        &'life0 self,
        id: &'life1 str,
        min_row: i32,
        max_row: i32,
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_balances<'life0, 'life1, 'async_trait>(
        &'life0 self,
        assets: Vec<&'life1 str>,
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn create_account<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, ticker: &'life1 str, name: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn update_account_name<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, id: &'life1 str, name: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn list_pending_transactions<'life0, 'life1, 'async_trait>( &'life0 self, id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn list_transactions<'life0, 'life1, 'async_trait>( &'life0 self, id: &'life1 str, min_row: i32, max_row: i32, ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn list_balances<'life0, 'life1, 'async_trait>( &'life0 self, assets: Vec<&'life1 str>, ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§