Trait schema_org_types::SomeProductsTrait
source · pub trait SomeProductsTrait {
// Required methods
fn get_inventory_level(&self) -> &[InventoryLevelProperty];
fn take_inventory_level(&mut self) -> Vec<InventoryLevelProperty>;
}
Expand description
This trait is for properties from https://schema.org/SomeProducts.
Required Methods§
sourcefn get_inventory_level(&self) -> &[InventoryLevelProperty]
fn get_inventory_level(&self) -> &[InventoryLevelProperty]
Get https://schema.org/inventoryLevel from Self
as borrowed slice.
sourcefn take_inventory_level(&mut self) -> Vec<InventoryLevelProperty>
fn take_inventory_level(&mut self) -> Vec<InventoryLevelProperty>
Take https://schema.org/inventoryLevel from Self
as owned vector.