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§
sourcefn get_announcement_location(&self) -> &[AnnouncementLocationProperty]
fn get_announcement_location(&self) -> &[AnnouncementLocationProperty]
Get https://schema.org/announcementLocation from Self
as borrowed slice.
sourcefn take_announcement_location(&mut self) -> Vec<AnnouncementLocationProperty>
fn take_announcement_location(&mut self) -> Vec<AnnouncementLocationProperty>
Take https://schema.org/announcementLocation from Self
as owned vector.
sourcefn get_category(&self) -> &[CategoryProperty]
fn get_category(&self) -> &[CategoryProperty]
Get https://schema.org/category from Self
as borrowed slice.
sourcefn take_category(&mut self) -> Vec<CategoryProperty>
fn take_category(&mut self) -> Vec<CategoryProperty>
Take https://schema.org/category from Self
as owned vector.
sourcefn get_date_posted(&self) -> &[DatePostedProperty]
fn get_date_posted(&self) -> &[DatePostedProperty]
Get https://schema.org/datePosted from Self
as borrowed slice.
sourcefn take_date_posted(&mut self) -> Vec<DatePostedProperty>
fn take_date_posted(&mut self) -> Vec<DatePostedProperty>
Take https://schema.org/datePosted from Self
as owned vector.
sourcefn get_disease_prevention_info(&self) -> &[DiseasePreventionInfoProperty]
fn get_disease_prevention_info(&self) -> &[DiseasePreventionInfoProperty]
Get https://schema.org/diseasePreventionInfo from Self
as borrowed slice.
sourcefn take_disease_prevention_info(&mut self) -> Vec<DiseasePreventionInfoProperty>
fn take_disease_prevention_info(&mut self) -> Vec<DiseasePreventionInfoProperty>
Take https://schema.org/diseasePreventionInfo from Self
as owned vector.
sourcefn get_disease_spread_statistics(&self) -> &[DiseaseSpreadStatisticsProperty]
fn get_disease_spread_statistics(&self) -> &[DiseaseSpreadStatisticsProperty]
Get https://schema.org/diseaseSpreadStatistics from Self
as borrowed slice.
sourcefn take_disease_spread_statistics(
&mut self
) -> Vec<DiseaseSpreadStatisticsProperty>
fn take_disease_spread_statistics( &mut self ) -> Vec<DiseaseSpreadStatisticsProperty>
Take https://schema.org/diseaseSpreadStatistics from Self
as owned vector.
sourcefn get_getting_tested_info(&self) -> &[GettingTestedInfoProperty]
fn get_getting_tested_info(&self) -> &[GettingTestedInfoProperty]
Get https://schema.org/gettingTestedInfo from Self
as borrowed slice.
sourcefn take_getting_tested_info(&mut self) -> Vec<GettingTestedInfoProperty>
fn take_getting_tested_info(&mut self) -> Vec<GettingTestedInfoProperty>
Take https://schema.org/gettingTestedInfo from Self
as owned vector.
sourcefn get_government_benefits_info(&self) -> &[GovernmentBenefitsInfoProperty]
fn get_government_benefits_info(&self) -> &[GovernmentBenefitsInfoProperty]
Get https://schema.org/governmentBenefitsInfo from Self
as borrowed slice.
sourcefn take_government_benefits_info(
&mut self
) -> Vec<GovernmentBenefitsInfoProperty>
fn take_government_benefits_info( &mut self ) -> Vec<GovernmentBenefitsInfoProperty>
Take https://schema.org/governmentBenefitsInfo from Self
as owned vector.
sourcefn get_news_updates_and_guidelines(&self) -> &[NewsUpdatesAndGuidelinesProperty]
fn get_news_updates_and_guidelines(&self) -> &[NewsUpdatesAndGuidelinesProperty]
Get https://schema.org/newsUpdatesAndGuidelines from Self
as borrowed slice.
sourcefn take_news_updates_and_guidelines(
&mut self
) -> Vec<NewsUpdatesAndGuidelinesProperty>
fn take_news_updates_and_guidelines( &mut self ) -> Vec<NewsUpdatesAndGuidelinesProperty>
Take https://schema.org/newsUpdatesAndGuidelines from Self
as owned vector.
sourcefn get_public_transport_closures_info(
&self
) -> &[PublicTransportClosuresInfoProperty]
fn get_public_transport_closures_info( &self ) -> &[PublicTransportClosuresInfoProperty]
Get https://schema.org/publicTransportClosuresInfo from Self
as borrowed slice.
sourcefn take_public_transport_closures_info(
&mut self
) -> Vec<PublicTransportClosuresInfoProperty>
fn take_public_transport_closures_info( &mut self ) -> Vec<PublicTransportClosuresInfoProperty>
Take https://schema.org/publicTransportClosuresInfo from Self
as owned vector.
sourcefn get_quarantine_guidelines(&self) -> &[QuarantineGuidelinesProperty]
fn get_quarantine_guidelines(&self) -> &[QuarantineGuidelinesProperty]
Get https://schema.org/quarantineGuidelines from Self
as borrowed slice.
sourcefn take_quarantine_guidelines(&mut self) -> Vec<QuarantineGuidelinesProperty>
fn take_quarantine_guidelines(&mut self) -> Vec<QuarantineGuidelinesProperty>
Take https://schema.org/quarantineGuidelines from Self
as owned vector.
sourcefn get_school_closures_info(&self) -> &[SchoolClosuresInfoProperty]
fn get_school_closures_info(&self) -> &[SchoolClosuresInfoProperty]
Get https://schema.org/schoolClosuresInfo from Self
as borrowed slice.
sourcefn take_school_closures_info(&mut self) -> Vec<SchoolClosuresInfoProperty>
fn take_school_closures_info(&mut self) -> Vec<SchoolClosuresInfoProperty>
Take https://schema.org/schoolClosuresInfo from Self
as owned vector.
sourcefn get_travel_bans(&self) -> &[TravelBansProperty]
fn get_travel_bans(&self) -> &[TravelBansProperty]
Get https://schema.org/travelBans from Self
as borrowed slice.
sourcefn take_travel_bans(&mut self) -> Vec<TravelBansProperty>
fn take_travel_bans(&mut self) -> Vec<TravelBansProperty>
Take https://schema.org/travelBans from Self
as owned vector.
sourcefn get_web_feed(&self) -> &[WebFeedProperty]
fn get_web_feed(&self) -> &[WebFeedProperty]
Get https://schema.org/webFeed from Self
as borrowed slice.
sourcefn take_web_feed(&mut self) -> Vec<WebFeedProperty>
fn take_web_feed(&mut self) -> Vec<WebFeedProperty>
Take https://schema.org/webFeed from Self
as owned vector.