pub struct CommoditySymbol {
pub symbol: String,
pub name: Option<String>,
pub currency: Option<String>,
pub stock_exchange: Option<String>,
pub exchange_short_name: Option<String>,
}Expand description
Commodity symbol information
Fields§
§symbol: StringSymbol (e.g., “GCUSD”, “CLUSD”)
name: Option<String>Commodity name
currency: Option<String>Currency
stock_exchange: Option<String>Stock exchange
exchange_short_name: Option<String>Exchange short name
Trait Implementations§
Source§impl Clone for CommoditySymbol
impl Clone for CommoditySymbol
Source§fn clone(&self) -> CommoditySymbol
fn clone(&self) -> CommoditySymbol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommoditySymbol
impl Debug for CommoditySymbol
Source§impl<'de> Deserialize<'de> for CommoditySymbol
impl<'de> Deserialize<'de> for CommoditySymbol
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 CommoditySymbol
impl RefUnwindSafe for CommoditySymbol
impl Send for CommoditySymbol
impl Sync for CommoditySymbol
impl Unpin for CommoditySymbol
impl UnwindSafe for CommoditySymbol
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