pub enum DocumentSubject {
Customer(CustomerId),
Pet(PetId),
Reservation(Id),
Incident(IncidentId),
}Expand description
Entity or workflow subject a document is evidence for.
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.
Incident(IncidentId)
Incident record participating in the workflow.
Trait Implementations§
Source§impl Clone for DocumentSubject
impl Clone for DocumentSubject
Source§fn clone(&self) -> DocumentSubject
fn clone(&self) -> DocumentSubject
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 DocumentSubject
impl Debug for DocumentSubject
Source§impl<'de> Deserialize<'de> for DocumentSubject
impl<'de> Deserialize<'de> for DocumentSubject
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 DocumentSubject
impl PartialEq for DocumentSubject
Source§impl Serialize for DocumentSubject
impl Serialize for DocumentSubject
impl Eq for DocumentSubject
impl StructuralPartialEq for DocumentSubject
Auto Trait Implementations§
impl Freeze for DocumentSubject
impl RefUnwindSafe for DocumentSubject
impl Send for DocumentSubject
impl Sync for DocumentSubject
impl Unpin for DocumentSubject
impl UnsafeUnpin for DocumentSubject
impl UnwindSafe for DocumentSubject
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