pub enum GetPetByIdResponse {
SuccessfulOperation(Pet),
InvalidIDSupplied,
PetNotFound,
}Variants§
SuccessfulOperation(Pet)
successful operation
InvalidIDSupplied
Invalid ID supplied
PetNotFound
Pet not found
Trait Implementations§
Source§impl Debug for GetPetByIdResponse
impl Debug for GetPetByIdResponse
Source§impl<'de> Deserialize<'de> for GetPetByIdResponse
impl<'de> Deserialize<'de> for GetPetByIdResponse
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 GetPetByIdResponse
impl PartialEq for GetPetByIdResponse
Source§impl Serialize for GetPetByIdResponse
impl Serialize for GetPetByIdResponse
impl StructuralPartialEq for GetPetByIdResponse
Auto Trait Implementations§
impl Freeze for GetPetByIdResponse
impl RefUnwindSafe for GetPetByIdResponse
impl Send for GetPetByIdResponse
impl Sync for GetPetByIdResponse
impl Unpin for GetPetByIdResponse
impl UnwindSafe for GetPetByIdResponse
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