pub trait SearchActionTrait {
    // Required methods
    fn get_query(&self) -> &[QueryProperty];
    fn take_query(&mut self) -> Vec<QueryProperty>;
}
Expand description

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

Required Methods§

source

fn get_query(&self) -> &[QueryProperty]

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

source

fn take_query(&mut self) -> Vec<QueryProperty>

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

Implementors§