pub struct ForexPair {
pub symbol: String,
pub name: Option<String>,
pub currency: Option<String>,
pub stock_exchange: Option<String>,
pub exchange_short_name: Option<String>,
}Expand description
Forex pair information
Fields§
§symbol: StringSymbol (e.g., “EUR/USD”)
name: Option<String>Name
currency: Option<String>Currency
stock_exchange: Option<String>Stock exchange
exchange_short_name: Option<String>Exchange short name
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ForexPair
impl<'de> Deserialize<'de> for ForexPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ForexPair
impl RefUnwindSafe for ForexPair
impl Send for ForexPair
impl Sync for ForexPair
impl Unpin for ForexPair
impl UnwindSafe for ForexPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more