pub enum ProductCategoryCode {
Supplement,
InHouseDiet,
PersonalizedUpsell,
}Expand description
Storage-facing retail product category code.
Variants§
Supplement
Stable storage code for supplement.
InHouseDiet
Stable storage code for in house diet.
PersonalizedUpsell
Stable storage code for personalized upsell.
Trait Implementations§
Source§impl Clone for ProductCategoryCode
impl Clone for ProductCategoryCode
Source§fn clone(&self) -> ProductCategoryCode
fn clone(&self) -> ProductCategoryCode
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 ProductCategoryCode
impl Debug for ProductCategoryCode
Source§impl<'de> Deserialize<'de> for ProductCategoryCode
impl<'de> Deserialize<'de> for ProductCategoryCode
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 From<Category> for ProductCategoryCode
impl From<Category> for ProductCategoryCode
Source§impl From<ProductCategoryCode> for Category
impl From<ProductCategoryCode> for Category
Source§fn from(value: ProductCategoryCode) -> Self
fn from(value: ProductCategoryCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProductCategoryCode
impl PartialEq for ProductCategoryCode
Source§impl Serialize for ProductCategoryCode
impl Serialize for ProductCategoryCode
impl Copy for ProductCategoryCode
impl Eq for ProductCategoryCode
impl StructuralPartialEq for ProductCategoryCode
Auto Trait Implementations§
impl Freeze for ProductCategoryCode
impl RefUnwindSafe for ProductCategoryCode
impl Send for ProductCategoryCode
impl Sync for ProductCategoryCode
impl Unpin for ProductCategoryCode
impl UnsafeUnpin for ProductCategoryCode
impl UnwindSafe for ProductCategoryCode
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