pub trait EndorseActionTrait {
    // Required methods
    fn get_endorsee(&self) -> &[EndorseeProperty];
    fn take_endorsee(&mut self) -> Vec<EndorseeProperty>;
}
Expand description

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

Required Methods§

source

fn get_endorsee(&self) -> &[EndorseeProperty]

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

source

fn take_endorsee(&mut self) -> Vec<EndorseeProperty>

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

Implementors§