pub enum ProductCategoryRef {
ProductCategory(ProductCategoryId),
ProductRelatedProductCategory(ProductRelatedProductCategoryId),
Complex(ComplexUnitId),
}Variants§
ProductCategory(ProductCategoryId)
ProductRelatedProductCategory(ProductRelatedProductCategoryId)
Complex(ComplexUnitId)
Implementations§
Source§impl ProductCategoryRef
impl ProductCategoryRef
pub fn resolve<'m>(&self, model: &'m StepModel) -> ProductCategoryRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for ProductCategoryRef
impl Clone for ProductCategoryRef
Source§fn clone(&self) -> ProductCategoryRef
fn clone(&self) -> ProductCategoryRef
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 ProductCategoryRef
impl Debug for ProductCategoryRef
Source§impl PartialEq for ProductCategoryRef
impl PartialEq for ProductCategoryRef
Source§fn eq(&self, other: &ProductCategoryRef) -> bool
fn eq(&self, other: &ProductCategoryRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProductCategoryRef
Auto Trait Implementations§
impl Freeze for ProductCategoryRef
impl RefUnwindSafe for ProductCategoryRef
impl Send for ProductCategoryRef
impl Sync for ProductCategoryRef
impl Unpin for ProductCategoryRef
impl UnsafeUnpin for ProductCategoryRef
impl UnwindSafe for ProductCategoryRef
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