Trait schema_org_types::ContactPointTrait
source · 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§
sourcefn get_area_served(&self) -> &[AreaServedProperty]
fn get_area_served(&self) -> &[AreaServedProperty]
Get https://schema.org/areaServed from Self
as borrowed slice.
sourcefn take_area_served(&mut self) -> Vec<AreaServedProperty>
fn take_area_served(&mut self) -> Vec<AreaServedProperty>
Take https://schema.org/areaServed from Self
as owned vector.
sourcefn get_available_language(&self) -> &[AvailableLanguageProperty]
fn get_available_language(&self) -> &[AvailableLanguageProperty]
Get https://schema.org/availableLanguage from Self
as borrowed slice.
sourcefn take_available_language(&mut self) -> Vec<AvailableLanguageProperty>
fn take_available_language(&mut self) -> Vec<AvailableLanguageProperty>
Take https://schema.org/availableLanguage from Self
as owned vector.
sourcefn get_contact_option(&self) -> &[ContactOptionProperty]
fn get_contact_option(&self) -> &[ContactOptionProperty]
Get https://schema.org/contactOption from Self
as borrowed slice.
sourcefn take_contact_option(&mut self) -> Vec<ContactOptionProperty>
fn take_contact_option(&mut self) -> Vec<ContactOptionProperty>
Take https://schema.org/contactOption from Self
as owned vector.
sourcefn get_contact_type(&self) -> &[ContactTypeProperty]
fn get_contact_type(&self) -> &[ContactTypeProperty]
Get https://schema.org/contactType from Self
as borrowed slice.
sourcefn take_contact_type(&mut self) -> Vec<ContactTypeProperty>
fn take_contact_type(&mut self) -> Vec<ContactTypeProperty>
Take https://schema.org/contactType from Self
as owned vector.
sourcefn get_email(&self) -> &[EmailProperty]
fn get_email(&self) -> &[EmailProperty]
Get https://schema.org/email from Self
as borrowed slice.
sourcefn take_email(&mut self) -> Vec<EmailProperty>
fn take_email(&mut self) -> Vec<EmailProperty>
Take https://schema.org/email from Self
as owned vector.
sourcefn get_fax_number(&self) -> &[FaxNumberProperty]
fn get_fax_number(&self) -> &[FaxNumberProperty]
Get https://schema.org/faxNumber from Self
as borrowed slice.
sourcefn take_fax_number(&mut self) -> Vec<FaxNumberProperty>
fn take_fax_number(&mut self) -> Vec<FaxNumberProperty>
Take https://schema.org/faxNumber from Self
as owned vector.
sourcefn get_hours_available(&self) -> &[HoursAvailableProperty]
fn get_hours_available(&self) -> &[HoursAvailableProperty]
Get https://schema.org/hoursAvailable from Self
as borrowed slice.
sourcefn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>
fn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>
Take https://schema.org/hoursAvailable from Self
as owned vector.
sourcefn get_product_supported(&self) -> &[ProductSupportedProperty]
fn get_product_supported(&self) -> &[ProductSupportedProperty]
Get https://schema.org/productSupported from Self
as borrowed slice.
sourcefn take_product_supported(&mut self) -> Vec<ProductSupportedProperty>
fn take_product_supported(&mut self) -> Vec<ProductSupportedProperty>
Take https://schema.org/productSupported from Self
as owned vector.
sourcefn get_service_area(&self) -> &[ServiceAreaProperty]
fn get_service_area(&self) -> &[ServiceAreaProperty]
Get https://schema.org/serviceArea from Self
as borrowed slice.
sourcefn take_service_area(&mut self) -> Vec<ServiceAreaProperty>
fn take_service_area(&mut self) -> Vec<ServiceAreaProperty>
Take https://schema.org/serviceArea from Self
as owned vector.
sourcefn get_telephone(&self) -> &[TelephoneProperty]
fn get_telephone(&self) -> &[TelephoneProperty]
Get https://schema.org/telephone from Self
as borrowed slice.
sourcefn take_telephone(&mut self) -> Vec<TelephoneProperty>
fn take_telephone(&mut self) -> Vec<TelephoneProperty>
Take https://schema.org/telephone from Self
as owned vector.