Trait schema_org_types::WriteActionTrait
source · pub trait WriteActionTrait {
// Required methods
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>;
}
Expand description
This trait is for properties from https://schema.org/WriteAction.
Required Methods§
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.