Struct kraapi::api::private::trade_history::KITradeHistory[][src]

pub struct KITradeHistory { /* fields omitted */ }

Request builder for the Get Trades History endpoint

Implementations

impl KITradeHistory[src]

pub fn build() -> Self[src]

Constructor returning a KrakenInput builder for the get trades history endpoint.

pub fn with_trade_type(self, tradetype: TradeHistoryType) -> Self[src]

Filter by type of trade

pub fn with_trade_info(self, include_trades: bool) -> Self[src]

Should trades be included in returned output?

pub fn starting_timestamp(self, timestamp: u64) -> Self[src]

Starting Unix timestamp to filter output by. Exclusive

pub fn ending_timestamp(self, timestamp: u64) -> Self[src]

Ending Unix timestamp to filter output by. Inclusive

pub fn starting_txid(self, txid: String) -> Self[src]

Starting transaction ID to filter output by. Exclusive

pub fn ending_txid(self, txid: String) -> Self[src]

Ending transaction ID to filter output by. Inclusive

pub fn with_offset(self, offset: u64) -> Self[src]

Result offset. Not clear what this does

Trait Implementations

Auto Trait Implementations

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> Instrument 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.