pub enum BuyTomatoesResponse {
ThankYouComeAgain(Receipt),
ICalledSecurity,
}
Expand description
The response of a cashier when buying tomatoes.
Variants§
ThankYouComeAgain(Receipt)
A final greeting and your receipt.
ICalledSecurity
Security has been called.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BuyTomatoesResponse
impl Send for BuyTomatoesResponse
impl Sync for BuyTomatoesResponse
impl Unpin for BuyTomatoesResponse
impl UnwindSafe for BuyTomatoesResponse
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