#[non_exhaustive]pub enum Category {
Show 13 variants
Markets,
Economy,
Business,
Politics,
Geopolitics,
Regulation,
Technology,
Energy,
Commodities,
Crypto,
Health,
Climate,
Security,
}Expand description
An article category assigned by finlight’s classification.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Markets
Financial markets.
Economy
Macroeconomics.
Business
Company and business news.
Politics
Domestic politics.
Geopolitics
International relations.
Regulation
Regulation and policy.
Technology
Technology.
Energy
Energy.
Commodities
Commodities.
Crypto
Cryptocurrencies.
Health
Health and pharma.
Climate
Climate.
Security
Security and defense.
Trait Implementations§
impl Copy for Category
Source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnsafeUnpin for Category
impl UnwindSafe for Category
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