|
@@ -163,9 +163,6 @@ macro_rules! make_currency { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#[deprecated(since="0.2.3", note="Use `as_str()`")] |
|
|
|
|
|
pub fn to_str(&self) -> &'static str { self.as_str() } |
|
|
|
|
|
|
|
|
|
|
|
pub fn to_str_uppercase(&self) -> &'static str { |
|
|
pub fn to_str_uppercase(&self) -> &'static str { |
|
|
match *self { |
|
|
match *self { |
|
|
$( |
|
|
$( |
|
@@ -424,9 +421,6 @@ macro_rules! make_exchange { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#[deprecated(since="0.2.3", note="Use `as_str()`")] |
|
|
|
|
|
pub fn to_str(&self) -> &'static str { self.as_str() } |
|
|
|
|
|
|
|
|
|
|
|
pub fn as_str(&self) -> &'static str { |
|
|
pub fn as_str(&self) -> &'static str { |
|
|
match *self { |
|
|
match *self { |
|
|
$( |
|
|
$( |
|
@@ -638,9 +632,6 @@ macro_rules! ticker_to_u8 { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#[deprecated(since="0.2.3", note="Use `as_str()`")] |
|
|
|
|
|
pub fn to_str(&self) -> &'static str { self.as_str() } |
|
|
|
|
|
|
|
|
|
|
|
pub fn to_str_uppercase(&self) -> &'static str { |
|
|
pub fn to_str_uppercase(&self) -> &'static str { |
|
|
match *self { |
|
|
match *self { |
|
|
$( |
|
|
$( |
|
|