Trait crypto_currency::PairExt [] [src]

pub trait PairExt {
    fn join<S: Display>(&self, sep: S) -> String;
fn join_reversed<S: Display>(&self, sep: S) -> String;
fn parse_reversed(s: &str) -> Result<Pair>; }

Pair extension.

Required Methods

Joins pair with given separator.

Joins reversed pair with given separator.

Parses a currency pair with _ separator and reversed. Quote and base are reversed in Poloniex APIs If you are looking for parse method see TryFrom.

Implementors