[][src]Struct binance_client::HttpClient

pub struct HttpClient { /* fields omitted */ }

Methods

impl Client[src]

pub fn new() -> Self[src]

pub fn new_with_auth(api_key: String, secret_key: String) -> Self[src]

pub fn ping(&self) -> Result<(), Error>[src]

pub fn time(&self) -> Result<TimeGetResponse, Error>[src]

pub fn exchange_info(&self) -> Result<ExchangeInfoGetResponse, Error>[src]

pub fn klines(
    &self,
    request: KlinesGetRequest
) -> Result<KlinesGetResponse, Error>
[src]

pub fn order_get(
    &self,
    request: OrderGetRequest
) -> Result<OrderGetResponse, Error>
[src]

pub fn order_post(
    &self,
    request: OrderPostRequest
) -> Result<OrderPostResponse, Error>
[src]

pub fn order_delete(
    &self,
    request: OrderDeleteRequest
) -> Result<OrderDeleteResponse, Error>
[src]

pub fn order_post_test(
    &self,
    request: OrderPostRequest
) -> Result<OrderPostResponse, Error>
[src]

Trait Implementations

impl Default for Client[src]

Auto Trait Implementations

impl !RefUnwindSafe for Client

impl Send for Client

impl Sync for Client

impl Unpin for Client

impl !UnwindSafe for Client

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any