Trait schema_org_types::EntryPointTrait
source · pub trait EntryPointTrait {
Show 14 methods
// Required methods
fn get_action_application(&self) -> &[ActionApplicationProperty];
fn take_action_application(&mut self) -> Vec<ActionApplicationProperty>;
fn get_action_platform(&self) -> &[ActionPlatformProperty];
fn take_action_platform(&mut self) -> Vec<ActionPlatformProperty>;
fn get_application(&self) -> &[ApplicationProperty];
fn take_application(&mut self) -> Vec<ApplicationProperty>;
fn get_content_type(&self) -> &[ContentTypeProperty];
fn take_content_type(&mut self) -> Vec<ContentTypeProperty>;
fn get_encoding_type(&self) -> &[EncodingTypeProperty];
fn take_encoding_type(&mut self) -> Vec<EncodingTypeProperty>;
fn get_http_method(&self) -> &[HttpMethodProperty];
fn take_http_method(&mut self) -> Vec<HttpMethodProperty>;
fn get_url_template(&self) -> &[UrlTemplateProperty];
fn take_url_template(&mut self) -> Vec<UrlTemplateProperty>;
}
Expand description
This trait is for properties from https://schema.org/EntryPoint.
Required Methods§
sourcefn get_action_application(&self) -> &[ActionApplicationProperty]
fn get_action_application(&self) -> &[ActionApplicationProperty]
Get https://schema.org/actionApplication from Self
as borrowed slice.
sourcefn take_action_application(&mut self) -> Vec<ActionApplicationProperty>
fn take_action_application(&mut self) -> Vec<ActionApplicationProperty>
Take https://schema.org/actionApplication from Self
as owned vector.
sourcefn get_action_platform(&self) -> &[ActionPlatformProperty]
fn get_action_platform(&self) -> &[ActionPlatformProperty]
Get https://schema.org/actionPlatform from Self
as borrowed slice.
sourcefn take_action_platform(&mut self) -> Vec<ActionPlatformProperty>
fn take_action_platform(&mut self) -> Vec<ActionPlatformProperty>
Take https://schema.org/actionPlatform from Self
as owned vector.
sourcefn get_application(&self) -> &[ApplicationProperty]
fn get_application(&self) -> &[ApplicationProperty]
Get https://schema.org/application from Self
as borrowed slice.
sourcefn take_application(&mut self) -> Vec<ApplicationProperty>
fn take_application(&mut self) -> Vec<ApplicationProperty>
Take https://schema.org/application from Self
as owned vector.
sourcefn get_content_type(&self) -> &[ContentTypeProperty]
fn get_content_type(&self) -> &[ContentTypeProperty]
Get https://schema.org/contentType from Self
as borrowed slice.
sourcefn take_content_type(&mut self) -> Vec<ContentTypeProperty>
fn take_content_type(&mut self) -> Vec<ContentTypeProperty>
Take https://schema.org/contentType from Self
as owned vector.
sourcefn get_encoding_type(&self) -> &[EncodingTypeProperty]
fn get_encoding_type(&self) -> &[EncodingTypeProperty]
Get https://schema.org/encodingType from Self
as borrowed slice.
sourcefn take_encoding_type(&mut self) -> Vec<EncodingTypeProperty>
fn take_encoding_type(&mut self) -> Vec<EncodingTypeProperty>
Take https://schema.org/encodingType from Self
as owned vector.
sourcefn get_http_method(&self) -> &[HttpMethodProperty]
fn get_http_method(&self) -> &[HttpMethodProperty]
Get https://schema.org/httpMethod from Self
as borrowed slice.
sourcefn take_http_method(&mut self) -> Vec<HttpMethodProperty>
fn take_http_method(&mut self) -> Vec<HttpMethodProperty>
Take https://schema.org/httpMethod from Self
as owned vector.
sourcefn get_url_template(&self) -> &[UrlTemplateProperty]
fn get_url_template(&self) -> &[UrlTemplateProperty]
Get https://schema.org/urlTemplate from Self
as borrowed slice.
sourcefn take_url_template(&mut self) -> Vec<UrlTemplateProperty>
fn take_url_template(&mut self) -> Vec<UrlTemplateProperty>
Take https://schema.org/urlTemplate from Self
as owned vector.