pub trait ContactPointTrait {
Show 20 methods // Required methods fn get_area_served(&self) -> &[AreaServedProperty]; fn take_area_served(&mut self) -> Vec<AreaServedProperty>; fn get_available_language(&self) -> &[AvailableLanguageProperty]; fn take_available_language(&mut self) -> Vec<AvailableLanguageProperty>; fn get_contact_option(&self) -> &[ContactOptionProperty]; fn take_contact_option(&mut self) -> Vec<ContactOptionProperty>; fn get_contact_type(&self) -> &[ContactTypeProperty]; fn take_contact_type(&mut self) -> Vec<ContactTypeProperty>; fn get_email(&self) -> &[EmailProperty]; fn take_email(&mut self) -> Vec<EmailProperty>; fn get_fax_number(&self) -> &[FaxNumberProperty]; fn take_fax_number(&mut self) -> Vec<FaxNumberProperty>; fn get_hours_available(&self) -> &[HoursAvailableProperty]; fn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>; fn get_product_supported(&self) -> &[ProductSupportedProperty]; fn take_product_supported(&mut self) -> Vec<ProductSupportedProperty>; fn get_service_area(&self) -> &[ServiceAreaProperty]; fn take_service_area(&mut self) -> Vec<ServiceAreaProperty>; fn get_telephone(&self) -> &[TelephoneProperty]; fn take_telephone(&mut self) -> Vec<TelephoneProperty>;
}
Expand description

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

Required Methods§

source

fn get_area_served(&self) -> &[AreaServedProperty]

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

source

fn take_area_served(&mut self) -> Vec<AreaServedProperty>

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

source

fn get_available_language(&self) -> &[AvailableLanguageProperty]

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

source

fn take_available_language(&mut self) -> Vec<AvailableLanguageProperty>

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

source

fn get_contact_option(&self) -> &[ContactOptionProperty]

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

source

fn take_contact_option(&mut self) -> Vec<ContactOptionProperty>

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

source

fn get_contact_type(&self) -> &[ContactTypeProperty]

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

source

fn take_contact_type(&mut self) -> Vec<ContactTypeProperty>

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

source

fn get_email(&self) -> &[EmailProperty]

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

source

fn take_email(&mut self) -> Vec<EmailProperty>

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

source

fn get_fax_number(&self) -> &[FaxNumberProperty]

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

source

fn take_fax_number(&mut self) -> Vec<FaxNumberProperty>

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

source

fn get_hours_available(&self) -> &[HoursAvailableProperty]

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

source

fn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>

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

source

fn get_product_supported(&self) -> &[ProductSupportedProperty]

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

source

fn take_product_supported(&mut self) -> Vec<ProductSupportedProperty>

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

source

fn get_service_area(&self) -> &[ServiceAreaProperty]

👎Deprecated: This schema is superseded by https://schema.org/areaServed.

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

source

fn take_service_area(&mut self) -> Vec<ServiceAreaProperty>

👎Deprecated: This schema is superseded by https://schema.org/areaServed.

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

source

fn get_telephone(&self) -> &[TelephoneProperty]

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

source

fn take_telephone(&mut self) -> Vec<TelephoneProperty>

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

Implementors§