Struct beerxml::data::Recipe
[−]
pub struct Recipe { pub name: String, pub version: i64, pub type_: RecipeType, pub style: Style, pub brewer: String, pub asst_brewer: Option<String>, pub batch_size: f64, pub boil_size: f64, pub boil_time: f64, pub efficiency: Option<f64>, pub notes: Option<String>, pub og: Option<f64>, pub fg: Option<f64>, pub equipment: Option<Equipment>, pub mash: Option<Mash>, pub hops: HashMap<String, Hop>, pub fermentables: HashMap<String, Fermentable>, pub miscs: HashMap<String, Misc>, pub yeasts: HashMap<String, Yeast>, pub waters: HashMap<String, Water>, }
a beer recipe
Fields
name: String
name of the recipe
version: i64
version of the recipe format (normally 1)
type_: RecipeType
type of the recipe
style: Style
style of the recipe
brewer: String
name of the brewer
asst_brewer: Option<String>
optional name of the assistant brewer
batch_size: f64
target size of the finished batch in liters
boil_size: f64
starting size for the main boil of the wort in liters
boil_time: f64
total boil time in minutes
efficiency: Option<f64>
the percent brewhouse efficiency to be used for estimating the starting gravity of the beer; not required for “Extract” recipes, but is required for “Partial Mash” and “All Grain” recipes
notes: Option<String>
notes
og: Option<f64>
original gravity (pre-fermentation)
fg: Option<f64>
final gravity of the finished beer
equipment: Option<Equipment>
an optional equipment record
mash: Option<Mash>
mash profile
hops: HashMap<String, Hop>
hop ingredient records
fermentables: HashMap<String, Fermentable>
fermentable ingredient records
miscs: HashMap<String, Misc>
misc ingredient records
yeasts: HashMap<String, Yeast>
yeast ingredient records
waters: HashMap<String, Water>
water info records