pub trait CommunicateActionTrait {
    // Required methods
    fn get_about(&self) -> &[AboutProperty];
    fn take_about(&mut self) -> Vec<AboutProperty>;
    fn get_in_language(&self) -> &[InLanguageProperty];
    fn take_in_language(&mut self) -> Vec<InLanguageProperty>;
    fn get_language(&self) -> &[LanguageProperty];
    fn take_language(&mut self) -> Vec<LanguageProperty>;
    fn get_recipient(&self) -> &[RecipientProperty];
    fn take_recipient(&mut self) -> Vec<RecipientProperty>;
}
Expand description

This trait is for properties from https://schema.org/CommunicateAction.

Required Methods§

source

fn get_about(&self) -> &[AboutProperty]

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

source

fn take_about(&mut self) -> Vec<AboutProperty>

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

source

fn get_in_language(&self) -> &[InLanguageProperty]

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

source

fn take_in_language(&mut self) -> Vec<InLanguageProperty>

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

source

fn get_language(&self) -> &[LanguageProperty]

👎Deprecated: This schema is superseded by https://schema.org/inLanguage.

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

source

fn take_language(&mut self) -> Vec<LanguageProperty>

👎Deprecated: This schema is superseded by https://schema.org/inLanguage.

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

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§