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§

source

fn get_recipient(&self) -> &[RecipientProperty]

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

source

fn take_recipient(&mut self) -> Vec<RecipientProperty>

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

Implementors§