pub trait ProductReturnPolicyTrait {
// Required methods
fn get_product_return_days(&self) -> &[ProductReturnDaysProperty];
fn take_product_return_days(&mut self) -> Vec<ProductReturnDaysProperty>;
fn get_product_return_link(&self) -> &[ProductReturnLinkProperty];
fn take_product_return_link(&mut self) -> Vec<ProductReturnLinkProperty>;
}
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/MerchantReturnPolicy.
Expand description
This trait is for properties from https://schema.org/ProductReturnPolicy.
Required Methods§
sourcefn get_product_return_days(&self) -> &[ProductReturnDaysProperty]
fn get_product_return_days(&self) -> &[ProductReturnDaysProperty]
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/merchantReturnDays.
Get https://schema.org/productReturnDays from Self
as borrowed slice.
sourcefn take_product_return_days(&mut self) -> Vec<ProductReturnDaysProperty>
fn take_product_return_days(&mut self) -> Vec<ProductReturnDaysProperty>
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/merchantReturnDays.
Take https://schema.org/productReturnDays from Self
as owned vector.
sourcefn get_product_return_link(&self) -> &[ProductReturnLinkProperty]
fn get_product_return_link(&self) -> &[ProductReturnLinkProperty]
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/merchantReturnLink.
Get https://schema.org/productReturnLink from Self
as borrowed slice.
sourcefn take_product_return_link(&mut self) -> Vec<ProductReturnLinkProperty>
fn take_product_return_link(&mut self) -> Vec<ProductReturnLinkProperty>
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/merchantReturnLink.
Take https://schema.org/productReturnLink from Self
as owned vector.