Trait schema_org_types::BuyActionTrait
source · pub trait BuyActionTrait {
// Required methods
fn get_seller(&self) -> &[SellerProperty];
fn take_seller(&mut self) -> Vec<SellerProperty>;
fn get_vendor(&self) -> &[VendorProperty];
fn take_vendor(&mut self) -> Vec<VendorProperty>;
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/BuyAction.
Required Methods§
sourcefn get_seller(&self) -> &[SellerProperty]
fn get_seller(&self) -> &[SellerProperty]
Get https://schema.org/seller from Self
as borrowed slice.
sourcefn take_seller(&mut self) -> Vec<SellerProperty>
fn take_seller(&mut self) -> Vec<SellerProperty>
Take https://schema.org/seller from Self
as owned vector.
sourcefn get_vendor(&self) -> &[VendorProperty]
fn get_vendor(&self) -> &[VendorProperty]
👎Deprecated: This schema is superseded by https://schema.org/seller.
Get https://schema.org/vendor from Self
as borrowed slice.
sourcefn take_vendor(&mut self) -> Vec<VendorProperty>
fn take_vendor(&mut self) -> Vec<VendorProperty>
👎Deprecated: This schema is superseded by https://schema.org/seller.
Take https://schema.org/vendor 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.