pub enum RestaurantKind {
Show 15 variants
Cafeteria,
Restaurant,
ApprovedRestaurant,
ManagedRestaurant,
AdministrativeRestaurant,
CoffeeCorner,
Brewery,
FoodTruck,
SelfService,
Kiosk,
Pizzeria,
GroceryStore,
Scooter,
CrousAndGo,
SandwichShop,
}Variants§
Cafeteria
Restaurant
ApprovedRestaurant
ManagedRestaurant
AdministrativeRestaurant
CoffeeCorner
Brewery
FoodTruck
SelfService
Kiosk
Pizzeria
GroceryStore
Scooter
CrousAndGo
SandwichShop
Implementations§
Source§impl RestaurantKind
impl RestaurantKind
pub fn from_api(str: &str) -> RestaurantKind
Trait Implementations§
Source§impl Clone for RestaurantKind
impl Clone for RestaurantKind
Source§fn clone(&self) -> RestaurantKind
fn clone(&self) -> RestaurantKind
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 RestaurantKind
impl Debug for RestaurantKind
Auto Trait Implementations§
impl Freeze for RestaurantKind
impl RefUnwindSafe for RestaurantKind
impl Send for RestaurantKind
impl Sync for RestaurantKind
impl Unpin for RestaurantKind
impl UnwindSafe for RestaurantKind
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