pub enum Subject {
Customer(CustomerId),
Pet(PetId),
Reservation(Id),
Location(LocationId),
Document(DocumentId),
VaccineRecord(VaccineRecordId),
CareNote(Id),
Incident(IncidentId),
Message(MessageId),
Approval(Id),
WorkflowEvent(EventId),
External {
provider: Provider,
id: Id,
},
}Expand description
Subject that a care, document, incident, audit, or message record is about.
Variants§
Customer(CustomerId)
Customer record participating in the workflow.
Pet(PetId)
Pet record participating in the workflow.
Reservation(Id)
Reservation record participating in the workflow.
Location(LocationId)
Resort location record participating in the workflow.
Document(DocumentId)
Customer or pet document participating in review.
VaccineRecord(VaccineRecordId)
Vaccination document or status record under review.
CareNote(Id)
Care note state or source category preserved for normalized resort records.
Incident(IncidentId)
Incident record participating in the workflow.
Message(MessageId)
Customer communication record participating in approval.
Approval(Id)
Approval decision record participating in audit history.
WorkflowEvent(EventId)
Workflow event state or source category preserved for normalized resort records.
External
External system object referenced from domain history.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Subject
impl<'de> Deserialize<'de> for Subject
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 Subject
impl StructuralPartialEq for Subject
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnsafeUnpin for Subject
impl UnwindSafe for Subject
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