pub trait TransactionExtension {
    // Required methods
    fn format_transaction<'life0, 'life1, 'async_trait>(
        &'life0 self,
        wallet: &'life1 Arc<Wallet>,
        include_utxos: bool
    ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn format_transaction_with_state<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        wallet: &'life1 Arc<Wallet>,
        state: Option<&'life2 str>,
        include_utxos: bool
    ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn format_transaction_with_args<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        wallet: &'life1 Arc<Wallet>,
        state: Option<&'life2 str>,
        current_daa_score: Option<u64>,
        include_utxos: bool,
        history: bool,
        account: Option<Arc<dyn Account>>
    ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn format_transaction<'life0, 'life1, 'async_trait>( &'life0 self, wallet: &'life1 Arc<Wallet>, include_utxos: bool ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn format_transaction_with_state<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, wallet: &'life1 Arc<Wallet>, state: Option<&'life2 str>, include_utxos: bool ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn format_transaction_with_args<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, wallet: &'life1 Arc<Wallet>, state: Option<&'life2 str>, current_daa_score: Option<u64>, include_utxos: bool, history: bool, account: Option<Arc<dyn Account>> ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementations on Foreign Types§

source§

impl TransactionExtension for TransactionRecord

source§

fn format_transaction<'life0, 'life1, 'async_trait>( &'life0 self, wallet: &'life1 Arc<Wallet>, include_utxos: bool ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn format_transaction_with_state<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, wallet: &'life1 Arc<Wallet>, state: Option<&'life2 str>, include_utxos: bool ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source§

fn format_transaction_with_args<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, wallet: &'life1 Arc<Wallet>, state: Option<&'life2 str>, current_daa_score: Option<u64>, include_utxos: bool, history: bool, account: Option<Arc<dyn Account>> ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§