FunpayGateway

Trait FunpayGateway 

Source
pub trait FunpayGateway: Send + Sync {
    // Required methods
    fn get_home<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<(String, Vec<String>), FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_chat_page<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
        chat_id: &'life3 str,
    ) -> Pin<Box<dyn Future<Output = Result<(String, Vec<String>), FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn get_orders_trade<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_order_page<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
        order_id: &'life3 str,
    ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn post_runner<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
        csrf: &'life3 str,
        phpsessid: Option<&'life4 str>,
        objects_json: &'life5 str,
        request_json: Option<&'life6 str>,
    ) -> Pin<Box<dyn Future<Output = Result<Value, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait,
             'life5: 'async_trait,
             'life6: 'async_trait;
    fn post_offer_save<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: OfferSaveRequest<'life1>,
    ) -> Pin<Box<dyn Future<Output = Result<Value, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get_offer_edit_page<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
        node_id: i64,
        offer_id: i64,
    ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_lots_trade_page<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
        node_id: i64,
    ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_lots_page<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        golden_key: &'life1 str,
        user_agent: &'life2 str,
        node_id: i64,
    ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn get_home<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<(String, Vec<String>), FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_chat_page<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, chat_id: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<(String, Vec<String>), FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn get_orders_trade<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_order_page<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, order_id: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn post_runner<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, csrf: &'life3 str, phpsessid: Option<&'life4 str>, objects_json: &'life5 str, request_json: Option<&'life6 str>, ) -> Pin<Box<dyn Future<Output = Result<Value, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, 'life5: 'async_trait, 'life6: 'async_trait,

Source

fn post_offer_save<'life0, 'life1, 'async_trait>( &'life0 self, request: OfferSaveRequest<'life1>, ) -> Pin<Box<dyn Future<Output = Result<Value, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn get_offer_edit_page<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, node_id: i64, offer_id: i64, ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_lots_trade_page<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, node_id: i64, ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_lots_page<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, golden_key: &'life1 str, user_agent: &'life2 str, node_id: i64, ) -> Pin<Box<dyn Future<Output = Result<String, FunPayError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§