pub trait ServiceTrait {
Show 48 methods // Required methods fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]; fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>; fn get_area_served(&self) -> &[AreaServedProperty]; fn take_area_served(&mut self) -> Vec<AreaServedProperty>; fn get_audience(&self) -> &[AudienceProperty]; fn take_audience(&mut self) -> Vec<AudienceProperty>; fn get_available_channel(&self) -> &[AvailableChannelProperty]; fn take_available_channel(&mut self) -> Vec<AvailableChannelProperty>; fn get_award(&self) -> &[AwardProperty]; fn take_award(&mut self) -> Vec<AwardProperty>; fn get_brand(&self) -> &[BrandProperty]; fn take_brand(&mut self) -> Vec<BrandProperty>; fn get_broker(&self) -> &[BrokerProperty]; fn take_broker(&mut self) -> Vec<BrokerProperty>; fn get_category(&self) -> &[CategoryProperty]; fn take_category(&mut self) -> Vec<CategoryProperty>; fn get_has_offer_catalog(&self) -> &[HasOfferCatalogProperty]; fn take_has_offer_catalog(&mut self) -> Vec<HasOfferCatalogProperty>; fn get_hours_available(&self) -> &[HoursAvailableProperty]; fn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>; fn get_is_related_to(&self) -> &[IsRelatedToProperty]; fn take_is_related_to(&mut self) -> Vec<IsRelatedToProperty>; fn get_is_similar_to(&self) -> &[IsSimilarToProperty]; fn take_is_similar_to(&mut self) -> Vec<IsSimilarToProperty>; fn get_logo(&self) -> &[LogoProperty]; fn take_logo(&mut self) -> Vec<LogoProperty>; fn get_offers(&self) -> &[OffersProperty]; fn take_offers(&mut self) -> Vec<OffersProperty>; fn get_produces(&self) -> &[ProducesProperty]; fn take_produces(&mut self) -> Vec<ProducesProperty>; fn get_provider(&self) -> &[ProviderProperty]; fn take_provider(&mut self) -> Vec<ProviderProperty>; fn get_provider_mobility(&self) -> &[ProviderMobilityProperty]; fn take_provider_mobility(&mut self) -> Vec<ProviderMobilityProperty>; fn get_review(&self) -> &[ReviewProperty]; fn take_review(&mut self) -> Vec<ReviewProperty>; fn get_service_area(&self) -> &[ServiceAreaProperty]; fn take_service_area(&mut self) -> Vec<ServiceAreaProperty>; fn get_service_audience(&self) -> &[ServiceAudienceProperty]; fn take_service_audience(&mut self) -> Vec<ServiceAudienceProperty>; fn get_service_output(&self) -> &[ServiceOutputProperty]; fn take_service_output(&mut self) -> Vec<ServiceOutputProperty>; fn get_service_type(&self) -> &[ServiceTypeProperty]; fn take_service_type(&mut self) -> Vec<ServiceTypeProperty>; fn get_slogan(&self) -> &[SloganProperty]; fn take_slogan(&mut self) -> Vec<SloganProperty>; fn get_terms_of_service(&self) -> &[TermsOfServiceProperty]; fn take_terms_of_service(&mut self) -> Vec<TermsOfServiceProperty>;
}
Expand description

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

Required Methods§

source

fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]

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

source

fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>

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

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_audience(&self) -> &[AudienceProperty]

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

source

fn take_audience(&mut self) -> Vec<AudienceProperty>

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

source

fn get_available_channel(&self) -> &[AvailableChannelProperty]

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

source

fn take_available_channel(&mut self) -> Vec<AvailableChannelProperty>

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

source

fn get_award(&self) -> &[AwardProperty]

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

source

fn take_award(&mut self) -> Vec<AwardProperty>

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

source

fn get_brand(&self) -> &[BrandProperty]

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

source

fn take_brand(&mut self) -> Vec<BrandProperty>

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

source

fn get_broker(&self) -> &[BrokerProperty]

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

source

fn take_broker(&mut self) -> Vec<BrokerProperty>

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

source

fn get_category(&self) -> &[CategoryProperty]

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

source

fn take_category(&mut self) -> Vec<CategoryProperty>

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

source

fn get_has_offer_catalog(&self) -> &[HasOfferCatalogProperty]

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

source

fn take_has_offer_catalog(&mut self) -> Vec<HasOfferCatalogProperty>

Take https://schema.org/hasOfferCatalog 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.

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

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

source

fn get_is_similar_to(&self) -> &[IsSimilarToProperty]

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

source

fn take_is_similar_to(&mut self) -> Vec<IsSimilarToProperty>

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

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

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

source

fn get_offers(&self) -> &[OffersProperty]

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

source

fn take_offers(&mut self) -> Vec<OffersProperty>

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

source

fn get_produces(&self) -> &[ProducesProperty]

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

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

source

fn take_produces(&mut self) -> Vec<ProducesProperty>

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

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

source

fn get_provider(&self) -> &[ProviderProperty]

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

source

fn take_provider(&mut self) -> Vec<ProviderProperty>

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

source

fn get_provider_mobility(&self) -> &[ProviderMobilityProperty]

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

source

fn take_provider_mobility(&mut self) -> Vec<ProviderMobilityProperty>

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

source

fn get_review(&self) -> &[ReviewProperty]

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

source

fn take_review(&mut self) -> Vec<ReviewProperty>

Take https://schema.org/review 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_service_audience(&self) -> &[ServiceAudienceProperty]

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

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

source

fn take_service_audience(&mut self) -> Vec<ServiceAudienceProperty>

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

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

source

fn get_service_output(&self) -> &[ServiceOutputProperty]

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

source

fn take_service_output(&mut self) -> Vec<ServiceOutputProperty>

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

source

fn get_service_type(&self) -> &[ServiceTypeProperty]

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

source

fn take_service_type(&mut self) -> Vec<ServiceTypeProperty>

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

source

fn get_slogan(&self) -> &[SloganProperty]

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

source

fn take_slogan(&mut self) -> Vec<SloganProperty>

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

source

fn get_terms_of_service(&self) -> &[TermsOfServiceProperty]

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

source

fn take_terms_of_service(&mut self) -> Vec<TermsOfServiceProperty>

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

Implementors§