pub enum PetResortBrandRecord {
Known {
code: PetResortBrandCode,
},
Other {
name: StoredBrandName,
},
}Expand description
Stored pet-resort brand descriptor with code plus display name.
Variants§
Known
Enumerated brand known to the pet-resort context pack.
Fields
§
code: PetResortBrandCodeStable brand code promoted into a domain brand.
Other
Non-enumerated brand preserved with a validated display name.
Fields
§
name: StoredBrandNameValidated display name for a brand not yet represented by a stable code.
Trait Implementations§
Source§impl Clone for PetResortBrandRecord
impl Clone for PetResortBrandRecord
Source§fn clone(&self) -> PetResortBrandRecord
fn clone(&self) -> PetResortBrandRecord
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 PetResortBrandRecord
impl Debug for PetResortBrandRecord
Source§impl<'de> Deserialize<'de> for PetResortBrandRecord
impl<'de> Deserialize<'de> for PetResortBrandRecord
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 PetResortBrandRecord
impl PartialEq for PetResortBrandRecord
Source§impl Serialize for PetResortBrandRecord
impl Serialize for PetResortBrandRecord
Source§impl TryFrom<Brand> for PetResortBrandRecord
impl TryFrom<Brand> for PetResortBrandRecord
Source§impl TryFrom<PetResortBrandRecord> for Brand
impl TryFrom<PetResortBrandRecord> for Brand
impl Eq for PetResortBrandRecord
impl StructuralPartialEq for PetResortBrandRecord
Auto Trait Implementations§
impl Freeze for PetResortBrandRecord
impl RefUnwindSafe for PetResortBrandRecord
impl Send for PetResortBrandRecord
impl Sync for PetResortBrandRecord
impl Unpin for PetResortBrandRecord
impl UnsafeUnpin for PetResortBrandRecord
impl UnwindSafe for PetResortBrandRecord
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