pub enum DepositStatus {
NotRequired,
Required,
Paid,
Refunded,
Failed,
WaivedByManager,
}Expand description
Lifecycle states for collecting, waiving, refunding, or failing a reservation deposit.
Variants§
NotRequired
No deposit or review is needed for this reservation path.
Required
A deposit must be collected before the booking is secure.
Paid
The required deposit has been collected and reconciled.
Refunded
The collected deposit has been returned to the customer.
Failed
Deposit collection was attempted but did not succeed.
WaivedByManager
A manager waived the deposit requirement for the booking.
Trait Implementations§
Source§impl Clone for DepositStatus
impl Clone for DepositStatus
Source§fn clone(&self) -> DepositStatus
fn clone(&self) -> DepositStatus
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 DepositStatus
impl Debug for DepositStatus
Source§impl<'de> Deserialize<'de> for DepositStatus
impl<'de> Deserialize<'de> for DepositStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DepositStatus
impl PartialEq for DepositStatus
Source§impl Serialize for DepositStatus
impl Serialize for DepositStatus
impl Copy for DepositStatus
impl Eq for DepositStatus
impl StructuralPartialEq for DepositStatus
Auto Trait Implementations§
impl Freeze for DepositStatus
impl RefUnwindSafe for DepositStatus
impl Send for DepositStatus
impl Sync for DepositStatus
impl Unpin for DepositStatus
impl UnsafeUnpin for DepositStatus
impl UnwindSafe for DepositStatus
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