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§

source

fn get_buyer(&self) -> &[BuyerProperty]

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

source

fn take_buyer(&mut self) -> Vec<BuyerProperty>

Take https://schema.org/buyer 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§