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§

source

fn get_seller(&self) -> &[SellerProperty]

Get https://schema.org/seller from Self as borrowed slice.

source

fn take_seller(&mut self) -> Vec<SellerProperty>

Take https://schema.org/seller from Self as owned vector.

source

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.

source

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.

source

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.

source

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.

Implementors§