Struct bitsors::client::Bitso

source ·
pub struct Bitso {
    pub prefix: String,
    pub client_credentials_manager: Option<BitsoCredentials>,
}
Expand description

Bitso API object

Fields§

§prefix: String§client_credentials_manager: Option<BitsoCredentials>

Implementations§

Bitso instance

Set prefix

Set client credentials

Build Bitso API object

Construct authorization headers. See: https://bitso.com/api_info#creating-and-signing-requests

Function to convert result to models

Make a request to get available books See: https://bitso.com/api_info/#available-books

Make a request to get ticker See: https://bitso.com/api_info/#ticker

Make a request to get a specific order book See: https://bitso.com/api_info/#order-book

Make a request to get a specific trade See: https://bitso.com/api_info/#trades

Make a request to get account status See: https://bitso.com/api_info#account-status

Make a request to get account balance See: https://bitso.com/api_info#account-balance

Make a request to get fees See: https://bitso.com/api_info#fees

Make a request to get ledger See: https://bitso.com/api_info#ledger

Make a request to get withdrawals See: https://bitso.com/api_info#withdrawals

Make a request to get fundings See: https://bitso.com/api_info#fundings

Make a request to get user trades See: https://bitso.com/api_info#user-trades

Make a request to get order trades See: https://bitso.com/api_info#order-trades

Make a request to get open orders See: https://bitso.com/api_info#open-orders

Make a request to get lookup orders See: https://bitso.com/api_info#lookup-orders

Make a request to cancel order See: https://bitso.com/api_info#cancel-order

Make a post request to place an order See: https://bitso.com/api_info#place-an-order

Make a request to get lookup orders See: https://bitso.com/api_info#funding-destination

Make a request to place an crypto withdrawal See: https://bitso.com/api_info#crypto-withdrawals

Make a request to place a speri withdrawal See: https://bitso.com/api_info#spei-withdrawal

Make a request to get bank codes See: https://bitso.com/api_info#bank-codes

Make a post request to make a debit-card ithdrawal See: https://bitso.com/api_info#debit-card-withdrawal

Make a post request to make a phone-number withdrawal See: https://bitso.com/api_info#phone-number-withdrawal

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more