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§

source

fn get_loser(&self) -> &[LoserProperty]

Get https://schema.org/loser from Self as borrowed slice.

source

fn take_loser(&mut self) -> Vec<LoserProperty>

Take https://schema.org/loser from Self as owned vector.

Implementors§