pub enum Source {
Reservation(Id),
Pet(PetId),
Customer(CustomerId),
DailyBrief(Id),
WorkflowEvent(EventId),
StaffCreated,
}Expand description
Domain vocabulary for source decisions in staff workflows.
Variants§
Reservation(Id)
Reservation record participating in the workflow.
Pet(PetId)
Pet record participating in the workflow.
Customer(CustomerId)
Customer record participating in the workflow.
DailyBrief(Id)
Daily brief staff role, schedule, or labor-planning signal.
WorkflowEvent(EventId)
Workflow event staff role, schedule, or labor-planning signal.
StaffCreated
Staff created staff role, schedule, or labor-planning signal.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
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 Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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