Struct kraapi::api::public::asset_pairs::KIAssetPairs[][src]

pub struct KIAssetPairs { /* fields omitted */ }

Request builder for the Get Tradable Asset Pairs endpoint

Implementations

impl KIAssetPairs[src]

pub fn build() -> Self[src]

Constructor returning a KrakenInput builder for the get tradeable asset pairs endpoint.

pub fn clear_pair_list(self) -> Self[src]

An asset pair is not required for the get asset info endpoint. This method clears a currently populated asset pair list. Useful for templating

pub fn with_asset_pair(self, pair: KAssetPair) -> Self[src]

Update the list of assets pairs to query info for

pub fn with_asset_pair_list<T>(self, pairs: T) -> Self where
    T: IntoIterator<Item = KAssetPair>, 
[src]

Update the list of assets pairs to query info for

pub fn info(self, info: AssetPairInfo) -> Self[src]

Asset pair info to retrieve

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.