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: String
name of the style
version: i64
version of the style format (normally 1)
category: String
Category that this style belongs to – usually associated with a group of styles such as “English Ales” or “Amercian Lagers”
category_number: String
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”
style_letter: String
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
style_guide: String
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
type_: StyleType
may be “Lager”, “Ale”, “Mead”, “Wheat”, “Mixed” or “Cider”. Defines the type of beverage associated with this category
og_min: f64
minimum specific gravity as measured relative to water. For example “1.040” might be a reasonable minimum for a Pale Ale
og_max: f64
maximum specific gravity as measured relative to water
fg_min: f64
minimum final gravity as measured relative to water
fg_max: f64
maximum final gravity as measured relative to water
ibu_min: f64
recommended minimum bitterness for this style as measured in International Bitterness Units (IBUs)
ibu_max: f64
recommended maximum bitterness for this style as measured in International Bitterness Units (IBUs)
color_min: f64
minimum recommended color in SRM
color_max: f64
maximum recommended color in SRM
carb_min: Option<f64>
minimum recommended carbonation for this style in volumes of CO2
carb_max: Option<f64>
maximum recommended carbonation for this style in volumes of CO2
abv_min: Option<f64>
minimum recommended alcohol by volume as a percentage
abv_max: Option<f64>
maximum recommended alcohol by volume as a percentage
notes: Option<String>
description of the style, history
profile: Option<String>
flavor and aroma profile for this style
ingredients: Option<String>
suggested ingredients for this style
examples: Option<String>
example beers of this style