#[non_exhaustive]pub struct IndexComponent {
pub exch: String,
pub symbol: String,
pub sym_px: NumberString,
pub wgt: NumberString,
pub cnv_px: NumberString,
}Expand description
A single index component.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.exch: StringExchange name.
symbol: StringSymbol used by the component exchange.
sym_px: NumberStringComponent price.
wgt: NumberStringComponent weight.
cnv_px: NumberStringConversion price.
Trait Implementations§
Source§impl Clone for IndexComponent
impl Clone for IndexComponent
Source§fn clone(&self) -> IndexComponent
fn clone(&self) -> IndexComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IndexComponent
impl Debug for IndexComponent
Source§impl<'de> Deserialize<'de> for IndexComponent
impl<'de> Deserialize<'de> for IndexComponent
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 IndexComponent
impl RefUnwindSafe for IndexComponent
impl Send for IndexComponent
impl Sync for IndexComponent
impl Unpin for IndexComponent
impl UnsafeUnpin for IndexComponent
impl UnwindSafe for IndexComponent
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