[−][src]Struct cryptomkt::CryptoMktClient
CryptoMkt Client
Methods
impl CryptoMktClient
[src]
impl CryptoMktClient
pub fn new<'a>(api_key: &'a str, secret_key: &'a str) -> Self | [src] |
Create the new Client instance
pub fn get_markets(&self) -> Vec<Market> | [src] |
Get Market List
pub fn create_market<'a>(&self, name: &'a str) -> Market | [src] |
Return a new market from NAME
pub fn get_balance(&self) -> Result<Vec<Balance>, CryptoMktErrorType> | [src] |
A balance corresponds to the status of your cryptocurrency and local wallets. This state contains the available balance, account balance and corresponding wallet.
pub fn create_payment_order<'a>( | [src] |
It allows you to create a payment order, delivering QRs and urls to pay.
pub fn payment_order_status<'a>( | [src] |
Returns the status of a payment order
pub fn get_payment_orders<'a>( | [src] |
Returns the list of generated payment orders
Auto Trait Implementations
impl Send for CryptoMktClient
impl Send for CryptoMktClient
impl Sync for CryptoMktClient
impl Sync for CryptoMktClient
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T