pub trait MenuTrait {
    // Required methods
    fn get_has_menu_item(&self) -> &[HasMenuItemProperty];
    fn take_has_menu_item(&mut self) -> Vec<HasMenuItemProperty>;
    fn get_has_menu_section(&self) -> &[HasMenuSectionProperty];
    fn take_has_menu_section(&mut self) -> Vec<HasMenuSectionProperty>;
}
Expand description

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

Required Methods§

Implementors§