Trait schema_org_types::WebApiTrait
source · pub trait WebApiTrait {
// Required methods
fn get_documentation(&self) -> &[DocumentationProperty];
fn take_documentation(&mut self) -> Vec<DocumentationProperty>;
}
Expand description
This trait is for properties from https://schema.org/WebAPI.
Required Methods§
sourcefn get_documentation(&self) -> &[DocumentationProperty]
fn get_documentation(&self) -> &[DocumentationProperty]
Get https://schema.org/documentation from Self
as borrowed slice.
sourcefn take_documentation(&mut self) -> Vec<DocumentationProperty>
fn take_documentation(&mut self) -> Vec<DocumentationProperty>
Take https://schema.org/documentation from Self
as owned vector.