Trait schema_org_types::SearchActionTrait
source · 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§
sourcefn get_query(&self) -> &[QueryProperty]
fn get_query(&self) -> &[QueryProperty]
Get https://schema.org/query from Self
as borrowed slice.
sourcefn take_query(&mut self) -> Vec<QueryProperty>
fn take_query(&mut self) -> Vec<QueryProperty>
Take https://schema.org/query from Self
as owned vector.