pub enum EntityType {
Reservation,
Owner,
Animal,
Incident,
Lead,
Unknown(String),
}Expand description
Gingr webhook entity classes normalized from provider strings while retaining unknown entities.
Variants§
Reservation
Webhook entity is a Gingr reservation.
Owner
Provider value refers to a Gingr owner/customer.
Animal
Provider value refers to a Gingr animal/pet.
Incident
Provider value refers to a Gingr incident.
Lead
Provider value refers to a Gingr lead.
Unknown(String)
Provider supplied an unrecognized value; preserve it for audit instead of failing closed.
Implementations§
Source§impl EntityType
impl EntityType
Trait Implementations§
Source§impl Clone for EntityType
impl Clone for EntityType
Source§fn clone(&self) -> EntityType
fn clone(&self) -> EntityType
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 EntityType
impl Debug for EntityType
Source§impl PartialEq for EntityType
impl PartialEq for EntityType
impl Eq for EntityType
impl StructuralPartialEq for EntityType
Auto Trait Implementations§
impl Freeze for EntityType
impl RefUnwindSafe for EntityType
impl Send for EntityType
impl Sync for EntityType
impl Unpin for EntityType
impl UnsafeUnpin for EntityType
impl UnwindSafe for EntityType
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