API
business
Industry Segments

Industry Segments

Module to generate data about industry segments.

Overview

Capable of generating data about industry segments.

industry

Returns a random industry type.

Returns: string

use data_faking::locales::en as faking;
 
fn main() {
    println!("{}", faking::business::industry_segments::industry())
}
 
//Oil & Gas

View Source (opens in a new tab)

super_sector

Returns a random super sector industry type.

Returns: string

use data_faking::locales::en as faking;
 
fn main() {
    println!("{}", faking::business::industry_segments::super_sector())
}
 
//Health Care

View Source (opens in a new tab)

sector

Returns a random sector industry type.

Returns: string

use data_faking::locales::en as faking;
 
fn main() {
    println!("{}", faking::business::industry_segments::sector())
}
 
//Chemicals

View Source (opens in a new tab)

sub_sector

Returns a random subsector industry type.

Returns: string

use data_faking::locales::en as faking;
 
fn main() {
    println!("{}", faking::business::industry_segments::sub_sector())
}
 
//Renewable Energy Equipment

View Source (opens in a new tab)