pub struct ProductCategoryRelationship {
pub name: String,
pub description: Option<String>,
pub category: ProductCategoryRef,
pub sub_category: ProductCategoryRef,
}Fields§
§name: String§description: Option<String>§category: ProductCategoryRef§sub_category: ProductCategoryRefTrait Implementations§
Source§impl Clone for ProductCategoryRelationship
impl Clone for ProductCategoryRelationship
Source§fn clone(&self) -> ProductCategoryRelationship
fn clone(&self) -> ProductCategoryRelationship
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProductCategoryRelationship
impl Debug for ProductCategoryRelationship
Source§impl PartialEq for ProductCategoryRelationship
impl PartialEq for ProductCategoryRelationship
Source§fn eq(&self, other: &ProductCategoryRelationship) -> bool
fn eq(&self, other: &ProductCategoryRelationship) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProductCategoryRelationship
Auto Trait Implementations§
impl Freeze for ProductCategoryRelationship
impl RefUnwindSafe for ProductCategoryRelationship
impl Send for ProductCategoryRelationship
impl Sync for ProductCategoryRelationship
impl Unpin for ProductCategoryRelationship
impl UnsafeUnpin for ProductCategoryRelationship
impl UnwindSafe for ProductCategoryRelationship
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