pub enum BookOutcome {
Booked,
SlotTaken,
Unavailable,
}Expand description
What came of trying to book one slot.
Variants§
Booked
It is in the calendar; the caller has an appointment.
SlotTaken
Somebody else took it between the offer and the keypress. Worth
its own answer because the caller can be offered something else,
where Unavailable means asking again is pointless.
The booking could not be attempted or did not stick — no connection, a provider outage, a refused request.
Trait Implementations§
Source§impl Clone for BookOutcome
impl Clone for BookOutcome
Source§fn clone(&self) -> BookOutcome
fn clone(&self) -> BookOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BookOutcome
Source§impl Debug for BookOutcome
impl Debug for BookOutcome
impl Eq for BookOutcome
Source§impl PartialEq for BookOutcome
impl PartialEq for BookOutcome
impl StructuralPartialEq for BookOutcome
Auto Trait Implementations§
impl Freeze for BookOutcome
impl RefUnwindSafe for BookOutcome
impl Send for BookOutcome
impl Sync for BookOutcome
impl Unpin for BookOutcome
impl UnsafeUnpin for BookOutcome
impl UnwindSafe for BookOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.