pub enum Species {
Dog,
Cat,
Other(String),
}Expand description
Pet species category used by boarding/daycare/play policies and labor planning.
Variants§
Dog
Dog guest, using dog-specific policy and capacity rules.
Cat
Cat guest, using cat-specific policy and accommodation rules.
Other(String)
Non-dog, non-cat pet handled by exception policy.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Species
impl<'de> Deserialize<'de> for Species
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 Species
impl StructuralPartialEq for Species
Auto Trait Implementations§
impl Freeze for Species
impl RefUnwindSafe for Species
impl Send for Species
impl Sync for Species
impl Unpin for Species
impl UnsafeUnpin for Species
impl UnwindSafe for Species
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