Trait schema_org_types::StupidTypeTrait
source · pub trait StupidTypeTrait {
// Required methods
fn get_stupid_property(&self) -> &[StupidPropertyProperty];
fn take_stupid_property(&mut self) -> Vec<StupidPropertyProperty>;
}
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html.
Expand description
This trait is for properties from https://schema.org/StupidType.
Required Methods§
sourcefn get_stupid_property(&self) -> &[StupidPropertyProperty]
fn get_stupid_property(&self) -> &[StupidPropertyProperty]
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html.
Get https://schema.org/stupidProperty from Self
as borrowed slice.
sourcefn take_stupid_property(&mut self) -> Vec<StupidPropertyProperty>
fn take_stupid_property(&mut self) -> Vec<StupidPropertyProperty>
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html.
Take https://schema.org/stupidProperty from Self
as owned vector.