Skip to main content

Industry

Enum Industry 

Source
#[non_exhaustive]
pub enum Industry {
Show 148 variants AgriculturalInputs, Aluminum, Coal, Copper, FarmProducts, ForestProducts, Gold, LumberAndWoodProduction, OtherIndustrialMetalsAndMining, OtherPreciousMetalsAndMining, Silver, Steel, ThermalCoal, Uranium, ApparelManufacturing, ApparelRetail, AutoAndTruckDealerships, AutoManufacturers, AutoParts, BeveragesBrewers, BeveragesNonAlcoholic, BeveragesWineriesAndDistilleries, Confectioners, DepartmentStores, DiscountStores, ElectronicGamingAndMultimedia, FoodDistribution, FootwearAndAccessories, FurnishingsFixturesAndAppliances, Gambling, GroceryStores, HomeImprovementRetail, HouseholdAndPersonalProducts, InternetRetail, Leisure, Lodging, LuxuryGoods, PackagedFoods, PersonalServices, ResidentialConstruction, ResortsAndCasinos, Restaurants, SpecialtyRetail, TextileManufacturing, Tobacco, TravelServices, OilAndGasDrilling, OilAndGasEAndP, OilAndGasEquipmentAndServices, OilAndGasIntegrated, OilAndGasMidstream, OilAndGasRefiningAndMarketing, Solar, AssetManagement, BanksDiversified, BanksRegional, CapitalMarkets, CreditServices, FinancialDataAndStockExchanges, InsuranceBrokers, InsuranceDiversified, InsuranceLife, InsurancePropertyAndCasualty, InsuranceReinsurance, InsuranceSpecialty, MortgageFinance, ShellCompanies, Biotechnology, DiagnosticsAndResearch, DrugManufacturersGeneral, DrugManufacturersSpecialtyAndGeneric, HealthInformationServices, HealthcarePlans, MedicalCareFacilities, MedicalDevices, MedicalDistribution, MedicalInstrumentsAndSupplies, PharmaceuticalRetailers, AerospaceAndDefense, BuildingMaterials, BuildingProductsAndEquipment, BusinessEquipmentAndSupplies, ChemicalManufacturing, Chemicals, Conglomerates, ConsultingServices, ElectricalEquipmentAndParts, EngineeringAndConstruction, FarmAndHeavyConstructionMachinery, IndustrialDistribution, InfrastructureOperations, IntegratedFreightAndLogistics, ManufacturingDiversified, MarinePortsAndServices, MarineShipping, MetalFabrication, PaperAndPaperProducts, PollutionAndTreatmentControls, Railroads, RentalAndLeasingServices, SecurityAndProtectionServices, SpecialtyBusinessServices, SpecialtyChemicals, SpecialtyIndustrialMachinery, StaffingAndEmploymentServices, ToolsAndAccessories, Trucking, WasteManagement, RealEstateDevelopment, RealEstateDiversified, RealEstateServices, ReitDiversified, ReitHealthcareFacilities, ReitHotelAndMotel, ReitIndustrial, ReitMortgage, ReitOffice, ReitResidential, ReitRetail, ReitSpecialty, CommunicationEquipment, ComputerHardware, ConsumerElectronics, DataAnalytics, ElectronicComponents, ElectronicsAndComputerDistribution, HardwareAndSoftwareDistribution, InformationTechnologyServices, InternetContentAndInformation, ScientificAndTechnicalInstruments, SemiconductorEquipmentAndMaterials, Semiconductors, SoftwareApplication, SoftwareInfrastructure, Broadcasting, Entertainment, Publishing, TelecomServices, UtilitiesDiversified, UtilitiesIndependentPowerProducers, UtilitiesRegulatedElectric, UtilitiesRegulatedGas, UtilitiesRegulatedWater, UtilitiesRenewable, ClosedEndFundDebt, ClosedEndFundEquity, ClosedEndFundForeign, ExchangeTradedFund,
}
Expand description

Typed industry identifier for the industry endpoint and custom screener queries.

See the module-level doc for usage.

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.
§

AgriculturalInputs

Agricultural inputs, fertilizers, and crop chemicals

§

Aluminum

Aluminum production and processing companies

§

Coal

Coal mining and processing companies

§

Copper

Copper mining and processing companies

§

FarmProducts

Farm products including grains, livestock, and produce

§

ForestProducts

Forest products including timber and paper pulp

§

Gold

Gold mining and royalty companies

§

LumberAndWoodProduction

Lumber and wood production companies

§

OtherIndustrialMetalsAndMining

Other industrial metals and mining (zinc, nickel, etc.)

§

OtherPreciousMetalsAndMining

Other precious metals and mining (platinum, palladium, etc.)

§

Silver

Silver mining and streaming companies

§

Steel

Steel production and processing companies

§

ThermalCoal

Thermal coal mining for electricity generation

§

Uranium

Uranium mining companies

§

ApparelManufacturing

Clothing and apparel manufacturing companies

§

ApparelRetail

Clothing and apparel retail chains

§

AutoAndTruckDealerships

Automotive and truck dealerships

§

AutoManufacturers

Automobile manufacturers and assemblers

§

AutoParts

Automotive parts manufacturers and distributors

§

BeveragesBrewers

Beer brewing and distribution companies

§

BeveragesNonAlcoholic

Non-alcoholic beverages including soft drinks and juices

§

BeveragesWineriesAndDistilleries

Wineries, distilleries, and spirits producers

§

Confectioners

Candy, chocolate, and confectionery makers

§

DepartmentStores

Traditional department store retailers

§

DiscountStores

Discount and value retail stores

§

ElectronicGamingAndMultimedia

Electronic gaming software and multimedia entertainment

§

FoodDistribution

Wholesale food distribution companies

§

FootwearAndAccessories

Footwear, handbags, and fashion accessories

§

FurnishingsFixturesAndAppliances

Furniture, fixtures, and household appliances

§

Gambling

Casinos, online gambling, and gaming operators

§

GroceryStores

Supermarkets and grocery retail chains

§

HomeImprovementRetail

Home improvement retail stores

§

HouseholdAndPersonalProducts

Household cleaning products and personal care items

§

InternetRetail

Online retail and e-commerce marketplaces

§

Leisure

Leisure, recreation, and entertainment companies

§

Lodging

Hotels and lodging companies

§

LuxuryGoods

Luxury goods, fashion, and premium consumer brands

§

PackagedFoods

Packaged and processed food manufacturers

§

PersonalServices

Personal care, laundry, and household services

§

ResidentialConstruction

Home builders and residential construction

§

ResortsAndCasinos

Resorts, integrated casinos, and hotel-casinos

§

Restaurants

Restaurant chains and food service operators

§

SpecialtyRetail

Specialty retail stores (pets, books, electronics, etc.)

§

TextileManufacturing

Textile and fabric manufacturers

§

Tobacco

Tobacco product manufacturers

§

TravelServices

Travel agencies, booking platforms, and tour operators

§

OilAndGasDrilling

Oil and gas contract drilling services

§

OilAndGasEAndP

Oil and gas exploration and production companies

§

OilAndGasEquipmentAndServices

Oil field equipment, services, and engineering

§

OilAndGasIntegrated

Vertically integrated oil and gas majors

§

OilAndGasMidstream

Oil and gas pipelines, storage, and transportation

§

OilAndGasRefiningAndMarketing

Oil refining, wholesale fuel, and marketing

§

Solar

Solar panel manufacturers and solar energy producers

§

AssetManagement

Asset managers, fund sponsors, and investment advisors

§

BanksDiversified

Large diversified national and international banks

§

BanksRegional

Regional and community banks

§

CapitalMarkets

Investment banks, brokers, and financial exchanges

§

CreditServices

Credit card issuers and consumer credit services

§

FinancialDataAndStockExchanges

Financial data, analytics, and stock exchange operators

§

InsuranceBrokers

Insurance brokers and agencies

§

InsuranceDiversified

Diversified multi-line insurance companies

§

InsuranceLife

Life insurance and annuity providers

§

InsurancePropertyAndCasualty

Property and casualty insurance companies

§

InsuranceReinsurance

Reinsurance companies

§

InsuranceSpecialty

Specialty insurance lines (title, mortgage, etc.)

§

MortgageFinance

Mortgage banking and loan origination

§

ShellCompanies

Blank-check and shell holding companies

§

Biotechnology

Biotechnology drug development companies

§

DiagnosticsAndResearch

Medical diagnostics labs and clinical research

§

DrugManufacturersGeneral

Large branded pharmaceutical manufacturers

§

DrugManufacturersSpecialtyAndGeneric

Specialty drugs, generics, and biosimilars

§

HealthInformationServices

Healthcare IT, EHR, and health data services

§

HealthcarePlans

Managed care organizations and health insurers

§

MedicalCareFacilities

Hospitals, clinics, and outpatient care facilities

§

MedicalDevices

Medical device manufacturers (implants, diagnostics equipment)

§

MedicalDistribution

Medical product wholesalers and distributors

§

MedicalInstrumentsAndSupplies

Surgical instruments, disposables, and medical supplies

§

PharmaceuticalRetailers

Retail pharmacies and drug store chains

§

AerospaceAndDefense

Defense contractors, aircraft, and space systems

§

BuildingMaterials

Construction aggregates, cement, and building materials

§

BuildingProductsAndEquipment

HVAC, plumbing, windows, and building equipment

§

BusinessEquipmentAndSupplies

Office supplies, commercial equipment, and printers

§

ChemicalManufacturing

Specialty chemical manufacturing for industrial use

§

Chemicals

Diversified commodity chemicals producers

§

Conglomerates

Diversified industrial holding companies

§

ConsultingServices

Management consulting and professional advisory services

§

ElectricalEquipmentAndParts

Electrical components, motors, and power equipment

§

EngineeringAndConstruction

Civil engineering, construction, and infrastructure projects

§

FarmAndHeavyConstructionMachinery

Agricultural equipment and heavy construction machinery

§

IndustrialDistribution

Industrial goods wholesalers and distributors

§

InfrastructureOperations

Toll roads, airports, and infrastructure operators

§

IntegratedFreightAndLogistics

Third-party logistics and supply chain management

§

ManufacturingDiversified

Diversified manufacturers across multiple industrial segments

§

MarinePortsAndServices

Port operators and marine terminal services

§

MarineShipping

Bulk cargo and tanker shipping companies

§

MetalFabrication

Custom metal fabrication and machined components

§

PaperAndPaperProducts

Paper, packaging, and pulp product manufacturers

§

PollutionAndTreatmentControls

Environmental controls, water treatment, and remediation

§

Railroads

Rail freight carriers and passenger rail operators

§

RentalAndLeasingServices

Equipment rental, leasing, and fleet management

§

SecurityAndProtectionServices

Security systems, guards, and monitoring services

§

SpecialtyBusinessServices

Outsourced business services and BPO companies

§

SpecialtyChemicals

High-value specialty chemicals and advanced materials

§

SpecialtyIndustrialMachinery

Specialized industrial machinery and equipment makers

§

StaffingAndEmploymentServices

Staffing agencies and employment service providers

§

ToolsAndAccessories

Hand tools, power tools, and hardware accessories

§

Trucking

Freight trucking and less-than-truckload carriers

§

WasteManagement

Waste collection, recycling, and disposal services

§

RealEstateDevelopment

Real estate developers and homebuilders

§

RealEstateDiversified

Diversified real estate companies with mixed portfolios

§

RealEstateServices

Real estate brokers, agents, and property managers

§

ReitDiversified

Diversified REITs across multiple property types

§

ReitHealthcareFacilities

Healthcare and senior living facility REITs

§

ReitHotelAndMotel

Hotel and motel property REITs

§

ReitIndustrial

Industrial, warehouse, and logistics property REITs

§

ReitMortgage

Mortgage REITs investing in real estate debt

§

ReitOffice

Office building and commercial property REITs

§

ReitResidential

Apartment, multifamily, and residential property REITs

§

ReitRetail

Shopping center and retail property REITs

§

ReitSpecialty

Specialty REITs (data centers, cell towers, self-storage)

§

CommunicationEquipment

Networking hardware, routers, and communication equipment

§

ComputerHardware

PCs, servers, and computer hardware manufacturers

§

ConsumerElectronics

Smartphones, TVs, and consumer electronic devices

§

DataAnalytics

Data analytics, business intelligence, and AI platforms

§

ElectronicComponents

Passive electronic components and circuit boards

§

ElectronicsAndComputerDistribution

Distributors of electronics and computer products

§

HardwareAndSoftwareDistribution

Value-added resellers and software/hardware distributors

§

InformationTechnologyServices

IT services, outsourcing, and technology consulting

§

InternetContentAndInformation

Online media, search engines, and digital content platforms

§

ScientificAndTechnicalInstruments

Precision instruments, sensors, and test equipment

§

SemiconductorEquipmentAndMaterials

Semiconductor manufacturing equipment and materials

§

Semiconductors

Integrated circuit and chip designers and manufacturers

§

SoftwareApplication

Business application software companies

§

SoftwareInfrastructure

Operating systems, middleware, and infrastructure software

§

Broadcasting

Television, radio, and broadcast media companies

§

Entertainment

Film studios, streaming, and live entertainment

§

Publishing

Book, magazine, newspaper, and digital media publishers

§

TelecomServices

Wireless carriers and wireline telephone companies

§

UtilitiesDiversified

Multi-utility companies serving electricity, gas, and water

§

UtilitiesIndependentPowerProducers

Independent power producers and energy traders

§

UtilitiesRegulatedElectric

Regulated electric utility companies

§

UtilitiesRegulatedGas

Regulated natural gas distribution utilities

§

UtilitiesRegulatedWater

Regulated water and wastewater utilities

§

UtilitiesRenewable

Renewable energy generation companies (wind, solar, hydro)

§

ClosedEndFundDebt

Closed-end funds investing in debt instruments

§

ClosedEndFundEquity

Closed-end funds investing in equities

§

ClosedEndFundForeign

Closed-end funds investing in foreign securities

§

ExchangeTradedFund

Exchange-traded fund products

Implementations§

Source§

impl Industry

Source

pub fn as_slug(self) -> &'static str

Returns the lowercase hyphenated slug used by finance::industry().

§Example
use finance_query::Industry;
assert_eq!(Industry::Semiconductors.as_slug(), "semiconductors");
assert_eq!(Industry::SoftwareApplication.as_slug(), "software-application");
Source

pub fn screener_value(self) -> &'static str

Returns the display name used by the Yahoo Finance screener.

§Example
use finance_query::Industry;
assert_eq!(Industry::Semiconductors.screener_value(), "Semiconductors");
assert_eq!(Industry::OilAndGasDrilling.screener_value(), "Oil & Gas Drilling");

Trait Implementations§

Source§

impl AsRef<str> for Industry

Source§

fn as_ref(&self) -> &str

Returns the slug, enabling finance::industry(Industry::Semiconductors).

Source§

impl Clone for Industry

Source§

fn clone(&self) -> Industry

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Industry

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Industry> for String

Source§

fn from(v: Industry) -> Self

Returns the screener display name, enabling EquityField::Industry.eq_str(Industry::Semiconductors).

Source§

impl Hash for Industry

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Industry

Source§

fn eq(&self, other: &Industry) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Industry

Source§

impl Eq for Industry

Source§

impl StructuralPartialEq for Industry

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Key for T
where T: Clone,

Source§

fn align() -> usize

The alignment necessary for the key. Must return a power of two.
Source§

fn size(&self) -> usize

The size of the key in bytes.
Source§

unsafe fn init(&self, ptr: *mut u8)

Initialize the key in the given memory location. Read more
Source§

unsafe fn get<'a>(ptr: *const u8) -> &'a T

Get a reference to the key from the given memory location. Read more
Source§

unsafe fn drop_in_place(ptr: *mut u8)

Drop the key in place. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> PlanCallbackArgs for T

Source§

impl<T> PlanCallbackOut for T