pub struct IndustryRankItem {
pub name: String,
pub counter_id: String,
pub chg: String,
pub leading_name: String,
pub leading_ticker: String,
pub leading_chg: String,
pub value_name: String,
pub value_data: String,
}Expand description
One ranked industry item
Fields§
§name: StringIndustry / sector name
counter_id: StringCounter ID of the industry
chg: StringChange percentage
leading_name: StringName of the leading stock
leading_ticker: StringTicker of the leading stock
leading_chg: StringChange percentage of the leading stock
value_name: StringValue label name
value_data: StringValue data
Trait Implementations§
Source§impl Clone for IndustryRankItem
impl Clone for IndustryRankItem
Source§fn clone(&self) -> IndustryRankItem
fn clone(&self) -> IndustryRankItem
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 IndustryRankItem
impl Debug for IndustryRankItem
Source§impl<'de> Deserialize<'de> for IndustryRankItem
impl<'de> Deserialize<'de> for IndustryRankItem
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 IndustryRankItem
impl RefUnwindSafe for IndustryRankItem
impl Send for IndustryRankItem
impl Sync for IndustryRankItem
impl Unpin for IndustryRankItem
impl UnsafeUnpin for IndustryRankItem
impl UnwindSafe for IndustryRankItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more