Trait schema_org_types::ProductGroupTrait
source · pub trait ProductGroupTrait {
// Required methods
fn get_has_variant(&self) -> &[HasVariantProperty];
fn take_has_variant(&mut self) -> Vec<HasVariantProperty>;
fn get_product_group_id(&self) -> &[ProductGroupIdProperty];
fn take_product_group_id(&mut self) -> Vec<ProductGroupIdProperty>;
fn get_varies_by(&self) -> &[VariesByProperty];
fn take_varies_by(&mut self) -> Vec<VariesByProperty>;
}
Expand description
This trait is for properties from https://schema.org/ProductGroup.
Required Methods§
sourcefn get_has_variant(&self) -> &[HasVariantProperty]
fn get_has_variant(&self) -> &[HasVariantProperty]
Get https://schema.org/hasVariant from Self
as borrowed slice.
sourcefn take_has_variant(&mut self) -> Vec<HasVariantProperty>
fn take_has_variant(&mut self) -> Vec<HasVariantProperty>
Take https://schema.org/hasVariant from Self
as owned vector.
sourcefn get_product_group_id(&self) -> &[ProductGroupIdProperty]
fn get_product_group_id(&self) -> &[ProductGroupIdProperty]
Get https://schema.org/productGroupID from Self
as borrowed slice.
sourcefn take_product_group_id(&mut self) -> Vec<ProductGroupIdProperty>
fn take_product_group_id(&mut self) -> Vec<ProductGroupIdProperty>
Take https://schema.org/productGroupID from Self
as owned vector.
sourcefn get_varies_by(&self) -> &[VariesByProperty]
fn get_varies_by(&self) -> &[VariesByProperty]
Get https://schema.org/variesBy from Self
as borrowed slice.
sourcefn take_varies_by(&mut self) -> Vec<VariesByProperty>
fn take_varies_by(&mut self) -> Vec<VariesByProperty>
Take https://schema.org/variesBy from Self
as owned vector.