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