pub trait PerformanceRoleTrait {
// Required methods
fn get_character_name(&self) -> &[CharacterNameProperty];
fn take_character_name(&mut self) -> Vec<CharacterNameProperty>;
}
Expand description
This trait is for properties from https://schema.org/PerformanceRole.
Required Methods§
sourcefn get_character_name(&self) -> &[CharacterNameProperty]
fn get_character_name(&self) -> &[CharacterNameProperty]
Get https://schema.org/characterName from Self
as borrowed slice.
sourcefn take_character_name(&mut self) -> Vec<CharacterNameProperty>
fn take_character_name(&mut self) -> Vec<CharacterNameProperty>
Take https://schema.org/characterName from Self
as owned vector.