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§
sourcefn get_about(&self) -> &[AboutProperty]
fn get_about(&self) -> &[AboutProperty]
Get https://schema.org/about from Self
as borrowed slice.
sourcefn take_about(&mut self) -> Vec<AboutProperty>
fn take_about(&mut self) -> Vec<AboutProperty>
Take https://schema.org/about from Self
as owned vector.
sourcefn get_in_language(&self) -> &[InLanguageProperty]
fn get_in_language(&self) -> &[InLanguageProperty]
Get https://schema.org/inLanguage from Self
as borrowed slice.
sourcefn take_in_language(&mut self) -> Vec<InLanguageProperty>
fn take_in_language(&mut self) -> Vec<InLanguageProperty>
Take https://schema.org/inLanguage from Self
as owned vector.
sourcefn get_language(&self) -> &[LanguageProperty]
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.
sourcefn take_language(&mut self) -> Vec<LanguageProperty>
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.
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.