#[repr(u8)]pub enum EcamBeverageId {
Show 37 variants
EspressoCoffee = 1,
RegularCoffee = 2,
LongCoffee = 3,
EspressoCoffee2X = 4,
DoppioPlus = 5,
Americano = 6,
Cappuccino = 7,
LatteMacchiato = 8,
CaffeLatte = 9,
FlatWhite = 10,
EspressoMacchiato = 11,
HotMilk = 12,
CappuccinoDoppioPlus = 13,
ColdMilk = 14,
CappuccinoReverse = 15,
HotWater = 16,
Steam = 17,
Ciocco = 18,
Ristretto = 19,
LongEspresso = 20,
CoffeeCream = 21,
Tea = 22,
CoffeePot = 23,
Cortado = 24,
LongBlack = 25,
TravelMug = 26,
BrewOverIce = 27,
Custom01 = 230,
Custom02 = 231,
Custom03 = 232,
Custom04 = 233,
Custom05 = 234,
Custom06 = 235,
Custom07 = 236,
Custom08 = 237,
Custom09 = 238,
Custom10 = 239,
}Expand description
The type of beverage to prepare.
Variants§
EspressoCoffee = 1
RegularCoffee = 2
LongCoffee = 3
EspressoCoffee2X = 4
DoppioPlus = 5
Americano = 6
Cappuccino = 7
LatteMacchiato = 8
CaffeLatte = 9
FlatWhite = 10
EspressoMacchiato = 11
HotMilk = 12
CappuccinoDoppioPlus = 13
ColdMilk = 14
CappuccinoReverse = 15
HotWater = 16
Steam = 17
Ciocco = 18
Ristretto = 19
LongEspresso = 20
CoffeeCream = 21
Tea = 22
CoffeePot = 23
Cortado = 24
LongBlack = 25
TravelMug = 26
BrewOverIce = 27
Custom01 = 230
Custom02 = 231
Custom03 = 232
Custom04 = 233
Custom05 = 234
Custom06 = 235
Custom07 = 236
Custom08 = 237
Custom09 = 238
Custom10 = 239
Trait Implementations§
Source§impl Clone for EcamBeverageId
impl Clone for EcamBeverageId
Source§fn clone(&self) -> EcamBeverageId
fn clone(&self) -> EcamBeverageId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EcamBeverageId
impl Debug for EcamBeverageId
Source§impl From<EcamBeverageId> for u8
impl From<EcamBeverageId> for u8
Source§fn from(enum_value: EcamBeverageId) -> Self
fn from(enum_value: EcamBeverageId) -> Self
Converts to this type from the input type.
Source§impl Hash for EcamBeverageId
impl Hash for EcamBeverageId
Source§impl MachineEnumerable<EcamBeverageId> for EcamBeverageId
impl MachineEnumerable<EcamBeverageId> for EcamBeverageId
Source§fn all_values() -> &'static [EcamBeverageId]
fn all_values() -> &'static [EcamBeverageId]
Return a static slice of all possible enumeration values, useful for iteration.
Source§fn to_arg_string(&self) -> String
fn to_arg_string(&self) -> String
Generate the argument-style string for this enum. Ideally we’d use a &str, but the appropriate methods
are not const at this time.
fn lookup_by_name_case_insensitive(s: &str) -> Option<EcamBeverageId>
fn lookup_by_name(s: &str) -> Option<EcamBeverageId>
Source§impl Ord for EcamBeverageId
impl Ord for EcamBeverageId
Source§fn cmp(&self, other: &EcamBeverageId) -> Ordering
fn cmp(&self, other: &EcamBeverageId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EcamBeverageId
impl PartialEq for EcamBeverageId
Source§impl PartialOrd for EcamBeverageId
impl PartialOrd for EcamBeverageId
Source§impl TryFrom<u8> for EcamBeverageId
impl TryFrom<u8> for EcamBeverageId
Source§type Error = TryFromPrimitiveError<EcamBeverageId>
type Error = TryFromPrimitiveError<EcamBeverageId>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for EcamBeverageId
impl TryFromPrimitive for EcamBeverageId
const NAME: &'static str = "EcamBeverageId"
type Primitive = u8
type Error = TryFromPrimitiveError<EcamBeverageId>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for EcamBeverageId
impl Eq for EcamBeverageId
impl StructuralPartialEq for EcamBeverageId
Auto Trait Implementations§
impl Freeze for EcamBeverageId
impl RefUnwindSafe for EcamBeverageId
impl Send for EcamBeverageId
impl Sync for EcamBeverageId
impl Unpin for EcamBeverageId
impl UnwindSafe for EcamBeverageId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more