pub enum Lifecycle {
ApprovalRequested,
Approved {
decided_by: ActorRef,
decided_at: DateTime<Utc>,
},
Rejected {
decided_by: ActorRef,
decided_at: DateTime<Utc>,
},
Cancelled,
Superseded,
}Expand description
Approval lifecycle state for draft, requested, approved, rejected, or non-applicable review gates.
Variants§
ApprovalRequested
Approval requested state or source category preserved for normalized resort records.
Approved
Approved state or source category preserved for normalized resort records.
Fields
Rejected
Rejected state or source category preserved for normalized resort records.
Fields
Cancelled
Reservation is no longer active.
Superseded
Superseded state or source category preserved for normalized resort records.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lifecycle
impl<'de> Deserialize<'de> for Lifecycle
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
impl Eq for Lifecycle
impl StructuralPartialEq for Lifecycle
Auto Trait Implementations§
impl Freeze for Lifecycle
impl RefUnwindSafe for Lifecycle
impl Send for Lifecycle
impl Sync for Lifecycle
impl Unpin for Lifecycle
impl UnsafeUnpin for Lifecycle
impl UnwindSafe for Lifecycle
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