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
fn join<S: Display>(&self, sep: S) -> String
Joins pair with given separator.
fn join_reversed<S: Display>(&self, sep: S) -> String
Joins reversed pair with given separator.
fn parse_reversed(s: &str) -> Result<Pair>
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
impl PairExt for Pair