Trait schema_org_types::PayActionTrait
source · pub trait PayActionTrait {
// Required methods
fn get_recipient(&self) -> &[RecipientProperty];
fn take_recipient(&mut self) -> Vec<RecipientProperty>;
}
Expand description
This trait is for properties from https://schema.org/PayAction.
Required Methods§
sourcefn get_recipient(&self) -> &[RecipientProperty]
fn get_recipient(&self) -> &[RecipientProperty]
Get https://schema.org/recipient from Self
as borrowed slice.
sourcefn take_recipient(&mut self) -> Vec<RecipientProperty>
fn take_recipient(&mut self) -> Vec<RecipientProperty>
Take https://schema.org/recipient from Self
as owned vector.