pub enum IncidentSubject {
Pet(PetId),
Reservation(Id),
Customer(CustomerId),
Location(LocationId),
}Expand description
Entity or workflow subject affected by an incident.
Variants§
Pet(PetId)
Pet record participating in the workflow.
Reservation(Id)
Reservation record participating in the workflow.
Customer(CustomerId)
Customer record participating in the workflow.
Location(LocationId)
Resort location record participating in the workflow.
Trait Implementations§
Source§impl Clone for IncidentSubject
impl Clone for IncidentSubject
Source§fn clone(&self) -> IncidentSubject
fn clone(&self) -> IncidentSubject
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 IncidentSubject
impl Debug for IncidentSubject
Source§impl<'de> Deserialize<'de> for IncidentSubject
impl<'de> Deserialize<'de> for IncidentSubject
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 IncidentSubject
impl PartialEq for IncidentSubject
Source§impl Serialize for IncidentSubject
impl Serialize for IncidentSubject
impl Eq for IncidentSubject
impl StructuralPartialEq for IncidentSubject
Auto Trait Implementations§
impl Freeze for IncidentSubject
impl RefUnwindSafe for IncidentSubject
impl Send for IncidentSubject
impl Sync for IncidentSubject
impl Unpin for IncidentSubject
impl UnsafeUnpin for IncidentSubject
impl UnwindSafe for IncidentSubject
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