pub struct ProductGroup {
pub group_id: String,
pub product_ids: Vec<String>,
pub summary: Option<String>,
}Expand description
A grouping of products.
Fields§
§group_id: StringGroup identifier.
product_ids: Vec<String>Product IDs in this group.
summary: Option<String>Optional group summary.
Trait Implementations§
Source§impl Clone for ProductGroup
impl Clone for ProductGroup
Source§fn clone(&self) -> ProductGroup
fn clone(&self) -> ProductGroup
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 ProductGroup
impl Debug for ProductGroup
Source§impl<'de> Deserialize<'de> for ProductGroup
impl<'de> Deserialize<'de> for ProductGroup
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 ProductGroup
impl PartialEq for ProductGroup
Source§impl Serialize for ProductGroup
impl Serialize for ProductGroup
impl StructuralPartialEq for ProductGroup
Auto Trait Implementations§
impl Freeze for ProductGroup
impl RefUnwindSafe for ProductGroup
impl Send for ProductGroup
impl Sync for ProductGroup
impl Unpin for ProductGroup
impl UnsafeUnpin for ProductGroup
impl UnwindSafe for ProductGroup
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