1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use std::fmt::Debug;
use std::any::Any;
use rustc_serialize::Decodable;
use api::client::payload::Payload;
pub trait Product : Any + Sync + Debug {
type Data: Debug + Any + Decodable;
fn endpoint<'a, 'b>(&self, &'b Payload) -> &'a str;
fn description<'a>(&self) -> &'a str;
}
pub use self::connect::*;
pub use self::auth::*;
pub use self::balance::*;
pub use self::info::*;
pub use self::income::*;
pub mod connect;
pub mod auth;
pub mod info;
pub mod balance;
pub mod income;