Trait schema_org_types::SellActionTrait
source · pub trait SellActionTrait {
// Required methods
fn get_buyer(&self) -> &[BuyerProperty];
fn take_buyer(&mut self) -> Vec<BuyerProperty>;
fn get_warranty_promise(&self) -> &[WarrantyPromiseProperty];
fn take_warranty_promise(&mut self) -> Vec<WarrantyPromiseProperty>;
}
Expand description
This trait is for properties from https://schema.org/SellAction.
Required Methods§
sourcefn get_buyer(&self) -> &[BuyerProperty]
fn get_buyer(&self) -> &[BuyerProperty]
Get https://schema.org/buyer from Self
as borrowed slice.
sourcefn take_buyer(&mut self) -> Vec<BuyerProperty>
fn take_buyer(&mut self) -> Vec<BuyerProperty>
Take https://schema.org/buyer from Self
as owned vector.
sourcefn get_warranty_promise(&self) -> &[WarrantyPromiseProperty]
fn get_warranty_promise(&self) -> &[WarrantyPromiseProperty]
👎Deprecated: This schema is superseded by https://schema.org/warranty.
Get https://schema.org/warrantyPromise from Self
as borrowed slice.
sourcefn take_warranty_promise(&mut self) -> Vec<WarrantyPromiseProperty>
fn take_warranty_promise(&mut self) -> Vec<WarrantyPromiseProperty>
👎Deprecated: This schema is superseded by https://schema.org/warranty.
Take https://schema.org/warrantyPromise from Self
as owned vector.