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§

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.

Implementors§