Struct schema_org_types::ContactPoint
source · pub struct ContactPoint {Show 22 fields
pub area_served: Vec<AreaServedProperty>,
pub available_language: Vec<AvailableLanguageProperty>,
pub contact_option: Vec<ContactOptionProperty>,
pub contact_type: Vec<ContactTypeProperty>,
pub email: Vec<EmailProperty>,
pub fax_number: Vec<FaxNumberProperty>,
pub hours_available: Vec<HoursAvailableProperty>,
pub product_supported: Vec<ProductSupportedProperty>,
pub service_area: Vec<ServiceAreaProperty>,
pub telephone: Vec<TelephoneProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
}
Expand description
Fields§
§area_served: Vec<AreaServedProperty>
§available_language: Vec<AvailableLanguageProperty>
§contact_option: Vec<ContactOptionProperty>
§contact_type: Vec<ContactTypeProperty>
§email: Vec<EmailProperty>
§fax_number: Vec<FaxNumberProperty>
§hours_available: Vec<HoursAvailableProperty>
§product_supported: Vec<ProductSupportedProperty>
§service_area: Vec<ServiceAreaProperty>
👎Deprecated: This schema is superseded by https://schema.org/areaServed.
§telephone: Vec<TelephoneProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
Trait Implementations§
source§impl ContactPointTrait for ContactPoint
impl ContactPointTrait for ContactPoint
source§fn get_area_served(&self) -> &[AreaServedProperty]
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>
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]
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>
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]
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>
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]
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>
fn take_contact_type(&mut self) -> Vec<ContactTypeProperty>
Take https://schema.org/contactType from
Self
as owned vector.source§fn get_email(&self) -> &[EmailProperty]
fn get_email(&self) -> &[EmailProperty]
Get https://schema.org/email from
Self
as borrowed slice.source§fn take_email(&mut self) -> Vec<EmailProperty>
fn take_email(&mut self) -> Vec<EmailProperty>
Take https://schema.org/email from
Self
as owned vector.source§fn get_fax_number(&self) -> &[FaxNumberProperty]
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>
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]
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>
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]
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>
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]
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>
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]
fn get_telephone(&self) -> &[TelephoneProperty]
Get https://schema.org/telephone from
Self
as borrowed slice.source§fn take_telephone(&mut self) -> Vec<TelephoneProperty>
fn take_telephone(&mut self) -> Vec<TelephoneProperty>
Take https://schema.org/telephone from
Self
as owned vector.source§impl ThingTrait for ContactPoint
impl ThingTrait for ContactPoint
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.impl StructuredValueTrait for ContactPoint
Auto Trait Implementations§
impl RefUnwindSafe for ContactPoint
impl Send for ContactPoint
impl Sync for ContactPoint
impl Unpin for ContactPoint
impl UnwindSafe for ContactPoint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more