pub trait LoseActionTrait {
    // Required methods
    fn get_winner(&self) -> &[WinnerProperty];
    fn take_winner(&mut self) -> Vec<WinnerProperty>;
}
Expand description

This trait is for properties from https://schema.org/LoseAction.

Required Methods§

source

fn get_winner(&self) -> &[WinnerProperty]

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

source

fn take_winner(&mut self) -> Vec<WinnerProperty>

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

Implementors§