pub trait SpecialAnnouncementTrait {
Show 26 methods // Required methods fn get_announcement_location(&self) -> &[AnnouncementLocationProperty]; fn take_announcement_location( &mut self ) -> Vec<AnnouncementLocationProperty>; fn get_category(&self) -> &[CategoryProperty]; fn take_category(&mut self) -> Vec<CategoryProperty>; fn get_date_posted(&self) -> &[DatePostedProperty]; fn take_date_posted(&mut self) -> Vec<DatePostedProperty>; fn get_disease_prevention_info(&self) -> &[DiseasePreventionInfoProperty]; fn take_disease_prevention_info( &mut self ) -> Vec<DiseasePreventionInfoProperty>; fn get_disease_spread_statistics( &self ) -> &[DiseaseSpreadStatisticsProperty]; fn take_disease_spread_statistics( &mut self ) -> Vec<DiseaseSpreadStatisticsProperty>; fn get_getting_tested_info(&self) -> &[GettingTestedInfoProperty]; fn take_getting_tested_info(&mut self) -> Vec<GettingTestedInfoProperty>; fn get_government_benefits_info(&self) -> &[GovernmentBenefitsInfoProperty]; fn take_government_benefits_info( &mut self ) -> Vec<GovernmentBenefitsInfoProperty>; fn get_news_updates_and_guidelines( &self ) -> &[NewsUpdatesAndGuidelinesProperty]; fn take_news_updates_and_guidelines( &mut self ) -> Vec<NewsUpdatesAndGuidelinesProperty>; fn get_public_transport_closures_info( &self ) -> &[PublicTransportClosuresInfoProperty]; fn take_public_transport_closures_info( &mut self ) -> Vec<PublicTransportClosuresInfoProperty>; fn get_quarantine_guidelines(&self) -> &[QuarantineGuidelinesProperty]; fn take_quarantine_guidelines( &mut self ) -> Vec<QuarantineGuidelinesProperty>; fn get_school_closures_info(&self) -> &[SchoolClosuresInfoProperty]; fn take_school_closures_info(&mut self) -> Vec<SchoolClosuresInfoProperty>; fn get_travel_bans(&self) -> &[TravelBansProperty]; fn take_travel_bans(&mut self) -> Vec<TravelBansProperty>; fn get_web_feed(&self) -> &[WebFeedProperty]; fn take_web_feed(&mut self) -> Vec<WebFeedProperty>;
}
Expand description

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

Required Methods§

source

fn get_announcement_location(&self) -> &[AnnouncementLocationProperty]

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

source

fn take_announcement_location(&mut self) -> Vec<AnnouncementLocationProperty>

Take https://schema.org/announcementLocation 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_date_posted(&self) -> &[DatePostedProperty]

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

source

fn take_date_posted(&mut self) -> Vec<DatePostedProperty>

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

source

fn get_disease_prevention_info(&self) -> &[DiseasePreventionInfoProperty]

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

source

fn take_disease_prevention_info(&mut self) -> Vec<DiseasePreventionInfoProperty>

source

fn get_disease_spread_statistics(&self) -> &[DiseaseSpreadStatisticsProperty]

source

fn take_disease_spread_statistics( &mut self ) -> Vec<DiseaseSpreadStatisticsProperty>

source

fn get_getting_tested_info(&self) -> &[GettingTestedInfoProperty]

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

source

fn take_getting_tested_info(&mut self) -> Vec<GettingTestedInfoProperty>

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

source

fn get_government_benefits_info(&self) -> &[GovernmentBenefitsInfoProperty]

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

source

fn take_government_benefits_info( &mut self ) -> Vec<GovernmentBenefitsInfoProperty>

source

fn get_news_updates_and_guidelines(&self) -> &[NewsUpdatesAndGuidelinesProperty]

source

fn take_news_updates_and_guidelines( &mut self ) -> Vec<NewsUpdatesAndGuidelinesProperty>

source

fn get_public_transport_closures_info( &self ) -> &[PublicTransportClosuresInfoProperty]

source

fn take_public_transport_closures_info( &mut self ) -> Vec<PublicTransportClosuresInfoProperty>

source

fn get_quarantine_guidelines(&self) -> &[QuarantineGuidelinesProperty]

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

source

fn take_quarantine_guidelines(&mut self) -> Vec<QuarantineGuidelinesProperty>

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

source

fn get_school_closures_info(&self) -> &[SchoolClosuresInfoProperty]

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

source

fn take_school_closures_info(&mut self) -> Vec<SchoolClosuresInfoProperty>

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

source

fn get_travel_bans(&self) -> &[TravelBansProperty]

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

source

fn take_travel_bans(&mut self) -> Vec<TravelBansProperty>

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

source

fn get_web_feed(&self) -> &[WebFeedProperty]

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

source

fn take_web_feed(&mut self) -> Vec<WebFeedProperty>

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

Implementors§