Trait schema_org_types::WinActionTrait
source · pub trait WinActionTrait {
// Required methods
fn get_loser(&self) -> &[LoserProperty];
fn take_loser(&mut self) -> Vec<LoserProperty>;
}
Expand description
This trait is for properties from https://schema.org/WinAction.
Required Methods§
sourcefn get_loser(&self) -> &[LoserProperty]
fn get_loser(&self) -> &[LoserProperty]
Get https://schema.org/loser from Self
as borrowed slice.
sourcefn take_loser(&mut self) -> Vec<LoserProperty>
fn take_loser(&mut self) -> Vec<LoserProperty>
Take https://schema.org/loser from Self
as owned vector.