[][src]Trait luno_sdk::Accounts

pub trait Accounts {
#[must_use]    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
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
#[must_use] 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
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
#[must_use] 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
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] 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
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] 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
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]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
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 

#[must_use]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
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 

#[must_use]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
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]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
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]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
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl Accounts for LunoClient[src]

Loading content...