Enum beerxml::data::HopType
[−]
pub enum HopType { Bittering, Aroma, Both, }
the type of a hop
Variants
Bittering
a bittering hop
Aroma
an aroma hop
Both
a dual-purpose hop
Trait Implementations
impl ToString for HopType
impl FromStr for HopType
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<HopType, Self::Err>
Parses a string s
to return a value of this type. Read more