Struct beerxml::data::Style []

pub struct Style {
    pub name: String,
    pub version: i64,
    pub category: String,
    pub category_number: String,
    pub style_letter: String,
    pub style_guide: String,
    pub type_: StyleType,
    pub og_min: f64,
    pub og_max: f64,
    pub fg_min: f64,
    pub fg_max: f64,
    pub ibu_min: f64,
    pub ibu_max: f64,
    pub color_min: f64,
    pub color_max: f64,
    pub carb_min: Option<f64>,
    pub carb_max: Option<f64>,
    pub abv_min: Option<f64>,
    pub abv_max: Option<f64>,
    pub notes: Option<String>,
    pub profile: Option<String>,
    pub ingredients: Option<String>,
    pub examples: Option<String>,
}

a beer style

Fields

name of the style

version of the style format (normally 1)

Category that this style belongs to – usually associated with a group of styles such as “English Ales” or “Amercian Lagers”

number or identifier associated with this style category. For example in the BJCP style guide, the “American Lager” category has a category number of “1”

specific style number or subcategory letter associated with this particular style. For example in the BJCP style guide, an American Standard Lager would be style letter “A” under the main category. Letters should be upper case

name of the style guide that this particular style or category belongs to. For example “BJCP” might denote the BJCP style guide, and “AHA” would be used for the AHA style guide

may be “Lager”, “Ale”, “Mead”, “Wheat”, “Mixed” or “Cider”. Defines the type of beverage associated with this category

minimum specific gravity as measured relative to water. For example “1.040” might be a reasonable minimum for a Pale Ale

maximum specific gravity as measured relative to water

minimum final gravity as measured relative to water

maximum final gravity as measured relative to water

recommended minimum bitterness for this style as measured in International Bitterness Units (IBUs)

recommended maximum bitterness for this style as measured in International Bitterness Units (IBUs)

minimum recommended color in SRM

maximum recommended color in SRM

minimum recommended carbonation for this style in volumes of CO2

maximum recommended carbonation for this style in volumes of CO2

minimum recommended alcohol by volume as a percentage

maximum recommended alcohol by volume as a percentage

description of the style, history

flavor and aroma profile for this style

suggested ingredients for this style

example beers of this style

Trait Implementations

impl Debug for Style
[src]

Formats the value using the given formatter.

impl Default for Style
[src]

Returns the "default value" for a type. Read more