Struct schema_org_types::Drug

source ·
pub struct Drug {
Show 104 fields pub active_ingredient: Vec<ActiveIngredientProperty>, pub administration_route: Vec<AdministrationRouteProperty>, pub alcohol_warning: Vec<AlcoholWarningProperty>, pub available_strength: Vec<AvailableStrengthProperty>, pub breastfeeding_warning: Vec<BreastfeedingWarningProperty>, pub clincal_pharmacology: Vec<ClincalPharmacologyProperty>, pub clinical_pharmacology: Vec<ClinicalPharmacologyProperty>, pub dosage_form: Vec<DosageFormProperty>, pub dose_schedule: Vec<DoseScheduleProperty>, pub drug_class: Vec<DrugClassProperty>, pub drug_unit: Vec<DrugUnitProperty>, pub food_warning: Vec<FoodWarningProperty>, pub included_in_health_insurance_plan: Vec<IncludedInHealthInsurancePlanProperty>, pub interacting_drug: Vec<InteractingDrugProperty>, pub is_available_generically: Vec<IsAvailableGenericallyProperty>, pub is_proprietary: Vec<IsProprietaryProperty>, pub label_details: Vec<LabelDetailsProperty>, pub legal_status: Vec<LegalStatusProperty>, pub maximum_intake: Vec<MaximumIntakeProperty>, pub mechanism_of_action: Vec<MechanismOfActionProperty>, pub non_proprietary_name: Vec<NonProprietaryNameProperty>, pub overdosage: Vec<OverdosageProperty>, pub pregnancy_category: Vec<PregnancyCategoryProperty>, pub pregnancy_warning: Vec<PregnancyWarningProperty>, pub prescribing_info: Vec<PrescribingInfoProperty>, pub prescription_status: Vec<PrescriptionStatusProperty>, pub proprietary_name: Vec<ProprietaryNameProperty>, pub related_drug: Vec<RelatedDrugProperty>, pub rxcui: Vec<RxcuiProperty>, pub warning: Vec<WarningProperty>, pub code: Vec<CodeProperty>, pub funding: Vec<FundingProperty>, pub guideline: Vec<GuidelineProperty>, pub medicine_system: Vec<MedicineSystemProperty>, pub recognizing_authority: Vec<RecognizingAuthorityProperty>, pub relevant_specialty: Vec<RelevantSpecialtyProperty>, pub study: Vec<StudyProperty>, pub additional_property: Vec<AdditionalPropertyProperty>, pub aggregate_rating: Vec<AggregateRatingProperty>, pub asin: Vec<AsinProperty>, pub audience: Vec<AudienceProperty>, pub award: Vec<AwardProperty>, pub awards: Vec<AwardsProperty>, pub brand: Vec<BrandProperty>, pub category: Vec<CategoryProperty>, pub color: Vec<ColorProperty>, pub country_of_assembly: Vec<CountryOfAssemblyProperty>, pub country_of_last_processing: Vec<CountryOfLastProcessingProperty>, pub country_of_origin: Vec<CountryOfOriginProperty>, pub depth: Vec<DepthProperty>, pub gtin: Vec<GtinProperty>, pub gtin_12: Vec<Gtin12Property>, pub gtin_13: Vec<Gtin13Property>, pub gtin_14: Vec<Gtin14Property>, pub gtin_8: Vec<Gtin8Property>, pub has_adult_consideration: Vec<HasAdultConsiderationProperty>, pub has_energy_consumption_details: Vec<HasEnergyConsumptionDetailsProperty>, pub has_measurement: Vec<HasMeasurementProperty>, pub has_merchant_return_policy: Vec<HasMerchantReturnPolicyProperty>, pub has_product_return_policy: Vec<HasProductReturnPolicyProperty>, pub height: Vec<HeightProperty>, pub in_product_group_with_id: Vec<InProductGroupWithIdProperty>, pub is_accessory_or_spare_part_for: Vec<IsAccessoryOrSparePartForProperty>, pub is_consumable_for: Vec<IsConsumableForProperty>, pub is_family_friendly: Vec<IsFamilyFriendlyProperty>, pub is_related_to: Vec<IsRelatedToProperty>, pub is_similar_to: Vec<IsSimilarToProperty>, pub is_variant_of: Vec<IsVariantOfProperty>, pub item_condition: Vec<ItemConditionProperty>, pub keywords: Vec<KeywordsProperty>, pub logo: Vec<LogoProperty>, pub manufacturer: Vec<ManufacturerProperty>, pub material: Vec<MaterialProperty>, pub mobile_url: Vec<MobileUrlProperty>, pub model: Vec<ModelProperty>, pub mpn: Vec<MpnProperty>, pub negative_notes: Vec<NegativeNotesProperty>, pub nsn: Vec<NsnProperty>, pub offers: Vec<OffersProperty>, pub pattern: Vec<PatternProperty>, pub positive_notes: Vec<PositiveNotesProperty>, pub product_id: Vec<ProductIdProperty>, pub production_date: Vec<ProductionDateProperty>, pub purchase_date: Vec<PurchaseDateProperty>, pub release_date: Vec<ReleaseDateProperty>, pub review: Vec<ReviewProperty>, pub reviews: Vec<ReviewsProperty>, pub size: Vec<SizeProperty>, pub sku: Vec<SkuProperty>, pub slogan: Vec<SloganProperty>, pub weight: Vec<WeightProperty>, pub width: Vec<WidthProperty>, 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§

§active_ingredient: Vec<ActiveIngredientProperty>§administration_route: Vec<AdministrationRouteProperty>§alcohol_warning: Vec<AlcoholWarningProperty>§available_strength: Vec<AvailableStrengthProperty>§breastfeeding_warning: Vec<BreastfeedingWarningProperty>§clincal_pharmacology: Vec<ClincalPharmacologyProperty>
👎Deprecated: This schema is superseded by https://schema.org/clinicalPharmacology.
§clinical_pharmacology: Vec<ClinicalPharmacologyProperty>§dosage_form: Vec<DosageFormProperty>§dose_schedule: Vec<DoseScheduleProperty>§drug_class: Vec<DrugClassProperty>§drug_unit: Vec<DrugUnitProperty>§food_warning: Vec<FoodWarningProperty>§included_in_health_insurance_plan: Vec<IncludedInHealthInsurancePlanProperty>§interacting_drug: Vec<InteractingDrugProperty>§is_available_generically: Vec<IsAvailableGenericallyProperty>§is_proprietary: Vec<IsProprietaryProperty>§label_details: Vec<LabelDetailsProperty>§legal_status: Vec<LegalStatusProperty>§maximum_intake: Vec<MaximumIntakeProperty>§mechanism_of_action: Vec<MechanismOfActionProperty>§non_proprietary_name: Vec<NonProprietaryNameProperty>§overdosage: Vec<OverdosageProperty>§pregnancy_category: Vec<PregnancyCategoryProperty>§pregnancy_warning: Vec<PregnancyWarningProperty>§prescribing_info: Vec<PrescribingInfoProperty>§prescription_status: Vec<PrescriptionStatusProperty>§proprietary_name: Vec<ProprietaryNameProperty>§related_drug: Vec<RelatedDrugProperty>§rxcui: Vec<RxcuiProperty>§warning: Vec<WarningProperty>§code: Vec<CodeProperty>§funding: Vec<FundingProperty>§guideline: Vec<GuidelineProperty>§medicine_system: Vec<MedicineSystemProperty>§recognizing_authority: Vec<RecognizingAuthorityProperty>§relevant_specialty: Vec<RelevantSpecialtyProperty>§study: Vec<StudyProperty>§additional_property: Vec<AdditionalPropertyProperty>§aggregate_rating: Vec<AggregateRatingProperty>§asin: Vec<AsinProperty>§audience: Vec<AudienceProperty>§award: Vec<AwardProperty>§awards: Vec<AwardsProperty>
👎Deprecated: This schema is superseded by https://schema.org/award.
§brand: Vec<BrandProperty>§category: Vec<CategoryProperty>§color: Vec<ColorProperty>§country_of_assembly: Vec<CountryOfAssemblyProperty>§country_of_last_processing: Vec<CountryOfLastProcessingProperty>§country_of_origin: Vec<CountryOfOriginProperty>§depth: Vec<DepthProperty>§gtin: Vec<GtinProperty>§gtin_12: Vec<Gtin12Property>§gtin_13: Vec<Gtin13Property>§gtin_14: Vec<Gtin14Property>§gtin_8: Vec<Gtin8Property>§has_adult_consideration: Vec<HasAdultConsiderationProperty>§has_energy_consumption_details: Vec<HasEnergyConsumptionDetailsProperty>§has_measurement: Vec<HasMeasurementProperty>§has_merchant_return_policy: Vec<HasMerchantReturnPolicyProperty>§has_product_return_policy: Vec<HasProductReturnPolicyProperty>
👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/hasMerchantReturnPolicy.
§height: Vec<HeightProperty>§in_product_group_with_id: Vec<InProductGroupWithIdProperty>§is_accessory_or_spare_part_for: Vec<IsAccessoryOrSparePartForProperty>§is_consumable_for: Vec<IsConsumableForProperty>§is_family_friendly: Vec<IsFamilyFriendlyProperty>§is_related_to: Vec<IsRelatedToProperty>§is_similar_to: Vec<IsSimilarToProperty>§is_variant_of: Vec<IsVariantOfProperty>§item_condition: Vec<ItemConditionProperty>§keywords: Vec<KeywordsProperty>§manufacturer: Vec<ManufacturerProperty>§material: Vec<MaterialProperty>§mobile_url: Vec<MobileUrlProperty>§model: Vec<ModelProperty>§mpn: Vec<MpnProperty>§negative_notes: Vec<NegativeNotesProperty>§nsn: Vec<NsnProperty>§offers: Vec<OffersProperty>§pattern: Vec<PatternProperty>§positive_notes: Vec<PositiveNotesProperty>§product_id: Vec<ProductIdProperty>§production_date: Vec<ProductionDateProperty>§purchase_date: Vec<PurchaseDateProperty>§release_date: Vec<ReleaseDateProperty>§review: Vec<ReviewProperty>§reviews: Vec<ReviewsProperty>
👎Deprecated: This schema is superseded by https://schema.org/review.
§size: Vec<SizeProperty>§sku: Vec<SkuProperty>§slogan: Vec<SloganProperty>§weight: Vec<WeightProperty>§width: Vec<WidthProperty>§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 DrugTrait for Drug

source§

fn get_active_ingredient(&self) -> &[ActiveIngredientProperty]

Get https://schema.org/activeIngredient from Self as borrowed slice.
source§

fn take_active_ingredient(&mut self) -> Vec<ActiveIngredientProperty>

Take https://schema.org/activeIngredient from Self as owned vector.
source§

fn get_administration_route(&self) -> &[AdministrationRouteProperty]

Get https://schema.org/administrationRoute from Self as borrowed slice.
source§

fn take_administration_route(&mut self) -> Vec<AdministrationRouteProperty>

Take https://schema.org/administrationRoute from Self as owned vector.
source§

fn get_alcohol_warning(&self) -> &[AlcoholWarningProperty]

Get https://schema.org/alcoholWarning from Self as borrowed slice.
source§

fn take_alcohol_warning(&mut self) -> Vec<AlcoholWarningProperty>

Take https://schema.org/alcoholWarning from Self as owned vector.
source§

fn get_available_strength(&self) -> &[AvailableStrengthProperty]

Get https://schema.org/availableStrength from Self as borrowed slice.
source§

fn take_available_strength(&mut self) -> Vec<AvailableStrengthProperty>

Take https://schema.org/availableStrength from Self as owned vector.
source§

fn get_breastfeeding_warning(&self) -> &[BreastfeedingWarningProperty]

Get https://schema.org/breastfeedingWarning from Self as borrowed slice.
source§

fn take_breastfeeding_warning(&mut self) -> Vec<BreastfeedingWarningProperty>

source§

fn get_clincal_pharmacology(&self) -> &[ClincalPharmacologyProperty]

👎Deprecated: This schema is superseded by https://schema.org/clinicalPharmacology.
Get https://schema.org/clincalPharmacology from Self as borrowed slice.
source§

fn take_clincal_pharmacology(&mut self) -> Vec<ClincalPharmacologyProperty>

👎Deprecated: This schema is superseded by https://schema.org/clinicalPharmacology.
Take https://schema.org/clincalPharmacology from Self as owned vector.
source§

fn get_clinical_pharmacology(&self) -> &[ClinicalPharmacologyProperty]

Get https://schema.org/clinicalPharmacology from Self as borrowed slice.
source§

fn take_clinical_pharmacology(&mut self) -> Vec<ClinicalPharmacologyProperty>

source§

fn get_dosage_form(&self) -> &[DosageFormProperty]

Get https://schema.org/dosageForm from Self as borrowed slice.
source§

fn take_dosage_form(&mut self) -> Vec<DosageFormProperty>

Take https://schema.org/dosageForm from Self as owned vector.
source§

fn get_dose_schedule(&self) -> &[DoseScheduleProperty]

Get https://schema.org/doseSchedule from Self as borrowed slice.
source§

fn take_dose_schedule(&mut self) -> Vec<DoseScheduleProperty>

Take https://schema.org/doseSchedule from Self as owned vector.
source§

fn get_drug_class(&self) -> &[DrugClassProperty]

Get https://schema.org/drugClass from Self as borrowed slice.
source§

fn take_drug_class(&mut self) -> Vec<DrugClassProperty>

Take https://schema.org/drugClass from Self as owned vector.
source§

fn get_drug_unit(&self) -> &[DrugUnitProperty]

Get https://schema.org/drugUnit from Self as borrowed slice.
source§

fn take_drug_unit(&mut self) -> Vec<DrugUnitProperty>

Take https://schema.org/drugUnit from Self as owned vector.
source§

fn get_food_warning(&self) -> &[FoodWarningProperty]

Get https://schema.org/foodWarning from Self as borrowed slice.
source§

fn take_food_warning(&mut self) -> Vec<FoodWarningProperty>

Take https://schema.org/foodWarning from Self as owned vector.
source§

fn get_included_in_health_insurance_plan( &self ) -> &[IncludedInHealthInsurancePlanProperty]

source§

fn take_included_in_health_insurance_plan( &mut self ) -> Vec<IncludedInHealthInsurancePlanProperty>

source§

fn get_interacting_drug(&self) -> &[InteractingDrugProperty]

Get https://schema.org/interactingDrug from Self as borrowed slice.
source§

fn take_interacting_drug(&mut self) -> Vec<InteractingDrugProperty>

Take https://schema.org/interactingDrug from Self as owned vector.
source§

fn get_is_available_generically(&self) -> &[IsAvailableGenericallyProperty]

source§

fn take_is_available_generically( &mut self ) -> Vec<IsAvailableGenericallyProperty>

source§

fn get_is_proprietary(&self) -> &[IsProprietaryProperty]

Get https://schema.org/isProprietary from Self as borrowed slice.
source§

fn take_is_proprietary(&mut self) -> Vec<IsProprietaryProperty>

Take https://schema.org/isProprietary from Self as owned vector.
source§

fn get_label_details(&self) -> &[LabelDetailsProperty]

Get https://schema.org/labelDetails from Self as borrowed slice.
source§

fn take_label_details(&mut self) -> Vec<LabelDetailsProperty>

Take https://schema.org/labelDetails from Self as owned vector.
Get https://schema.org/legalStatus from Self as borrowed slice.
Take https://schema.org/legalStatus from Self as owned vector.
source§

fn get_maximum_intake(&self) -> &[MaximumIntakeProperty]

Get https://schema.org/maximumIntake from Self as borrowed slice.
source§

fn take_maximum_intake(&mut self) -> Vec<MaximumIntakeProperty>

Take https://schema.org/maximumIntake from Self as owned vector.
source§

fn get_mechanism_of_action(&self) -> &[MechanismOfActionProperty]

Get https://schema.org/mechanismOfAction from Self as borrowed slice.
source§

fn take_mechanism_of_action(&mut self) -> Vec<MechanismOfActionProperty>

Take https://schema.org/mechanismOfAction from Self as owned vector.
source§

fn get_non_proprietary_name(&self) -> &[NonProprietaryNameProperty]

Get https://schema.org/nonProprietaryName from Self as borrowed slice.
source§

fn take_non_proprietary_name(&mut self) -> Vec<NonProprietaryNameProperty>

Take https://schema.org/nonProprietaryName from Self as owned vector.
source§

fn get_overdosage(&self) -> &[OverdosageProperty]

Get https://schema.org/overdosage from Self as borrowed slice.
source§

fn take_overdosage(&mut self) -> Vec<OverdosageProperty>

Take https://schema.org/overdosage from Self as owned vector.
source§

fn get_pregnancy_category(&self) -> &[PregnancyCategoryProperty]

Get https://schema.org/pregnancyCategory from Self as borrowed slice.
source§

fn take_pregnancy_category(&mut self) -> Vec<PregnancyCategoryProperty>

Take https://schema.org/pregnancyCategory from Self as owned vector.
source§

fn get_pregnancy_warning(&self) -> &[PregnancyWarningProperty]

Get https://schema.org/pregnancyWarning from Self as borrowed slice.
source§

fn take_pregnancy_warning(&mut self) -> Vec<PregnancyWarningProperty>

Take https://schema.org/pregnancyWarning from Self as owned vector.
source§

fn get_prescribing_info(&self) -> &[PrescribingInfoProperty]

Get https://schema.org/prescribingInfo from Self as borrowed slice.
source§

fn take_prescribing_info(&mut self) -> Vec<PrescribingInfoProperty>

Take https://schema.org/prescribingInfo from Self as owned vector.
source§

fn get_prescription_status(&self) -> &[PrescriptionStatusProperty]

Get https://schema.org/prescriptionStatus from Self as borrowed slice.
source§

fn take_prescription_status(&mut self) -> Vec<PrescriptionStatusProperty>

Take https://schema.org/prescriptionStatus from Self as owned vector.
source§

fn get_proprietary_name(&self) -> &[ProprietaryNameProperty]

Get https://schema.org/proprietaryName from Self as borrowed slice.
source§

fn take_proprietary_name(&mut self) -> Vec<ProprietaryNameProperty>

Take https://schema.org/proprietaryName from Self as owned vector.
Get https://schema.org/relatedDrug from Self as borrowed slice.
Take https://schema.org/relatedDrug from Self as owned vector.
source§

fn get_rxcui(&self) -> &[RxcuiProperty]

Get https://schema.org/rxcui from Self as borrowed slice.
source§

fn take_rxcui(&mut self) -> Vec<RxcuiProperty>

Take https://schema.org/rxcui from Self as owned vector.
source§

fn get_warning(&self) -> &[WarningProperty]

Get https://schema.org/warning from Self as borrowed slice.
source§

fn take_warning(&mut self) -> Vec<WarningProperty>

Take https://schema.org/warning from Self as owned vector.
source§

impl MedicalEntityTrait for Drug

source§

fn get_code(&self) -> &[CodeProperty]

Get https://schema.org/code from Self as borrowed slice.
source§

fn take_code(&mut self) -> Vec<CodeProperty>

Take https://schema.org/code from Self as owned vector.
source§

fn get_funding(&self) -> &[FundingProperty]

Get https://schema.org/funding from Self as borrowed slice.
source§

fn take_funding(&mut self) -> Vec<FundingProperty>

Take https://schema.org/funding from Self as owned vector.
source§

fn get_guideline(&self) -> &[GuidelineProperty]

Get https://schema.org/guideline from Self as borrowed slice.
source§

fn take_guideline(&mut self) -> Vec<GuidelineProperty>

Take https://schema.org/guideline from Self as owned vector.
Get https://schema.org/legalStatus from Self as borrowed slice.
Take https://schema.org/legalStatus from Self as owned vector.
source§

fn get_medicine_system(&self) -> &[MedicineSystemProperty]

Get https://schema.org/medicineSystem from Self as borrowed slice.
source§

fn take_medicine_system(&mut self) -> Vec<MedicineSystemProperty>

Take https://schema.org/medicineSystem from Self as owned vector.
source§

fn get_recognizing_authority(&self) -> &[RecognizingAuthorityProperty]

Get https://schema.org/recognizingAuthority from Self as borrowed slice.
source§

fn take_recognizing_authority(&mut self) -> Vec<RecognizingAuthorityProperty>

source§

fn get_relevant_specialty(&self) -> &[RelevantSpecialtyProperty]

Get https://schema.org/relevantSpecialty from Self as borrowed slice.
source§

fn take_relevant_specialty(&mut self) -> Vec<RelevantSpecialtyProperty>

Take https://schema.org/relevantSpecialty from Self as owned vector.
source§

fn get_study(&self) -> &[StudyProperty]

Get https://schema.org/study from Self as borrowed slice.
source§

fn take_study(&mut self) -> Vec<StudyProperty>

Take https://schema.org/study from Self as owned vector.
source§

impl ProductTrait for Drug

source§

fn get_additional_property(&self) -> &[AdditionalPropertyProperty]

Get https://schema.org/additionalProperty from Self as borrowed slice.
source§

fn take_additional_property(&mut self) -> Vec<AdditionalPropertyProperty>

Take https://schema.org/additionalProperty from Self as owned vector.
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_asin(&self) -> &[AsinProperty]

Get https://schema.org/asin from Self as borrowed slice.
source§

fn take_asin(&mut self) -> Vec<AsinProperty>

Take https://schema.org/asin 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_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_awards(&self) -> &[AwardsProperty]

👎Deprecated: This schema is superseded by https://schema.org/award.
Get https://schema.org/awards from Self as borrowed slice.
source§

fn take_awards(&mut self) -> Vec<AwardsProperty>

👎Deprecated: This schema is superseded by https://schema.org/award.
Take https://schema.org/awards 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_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_color(&self) -> &[ColorProperty]

Get https://schema.org/color from Self as borrowed slice.
source§

fn take_color(&mut self) -> Vec<ColorProperty>

Take https://schema.org/color from Self as owned vector.
source§

fn get_country_of_assembly(&self) -> &[CountryOfAssemblyProperty]

Get https://schema.org/countryOfAssembly from Self as borrowed slice.
source§

fn take_country_of_assembly(&mut self) -> Vec<CountryOfAssemblyProperty>

Take https://schema.org/countryOfAssembly from Self as owned vector.
source§

fn get_country_of_last_processing(&self) -> &[CountryOfLastProcessingProperty]

source§

fn take_country_of_last_processing( &mut self ) -> Vec<CountryOfLastProcessingProperty>

source§

fn get_country_of_origin(&self) -> &[CountryOfOriginProperty]

Get https://schema.org/countryOfOrigin from Self as borrowed slice.
source§

fn take_country_of_origin(&mut self) -> Vec<CountryOfOriginProperty>

Take https://schema.org/countryOfOrigin from Self as owned vector.
source§

fn get_depth(&self) -> &[DepthProperty]

Get https://schema.org/depth from Self as borrowed slice.
source§

fn take_depth(&mut self) -> Vec<DepthProperty>

Take https://schema.org/depth from Self as owned vector.
source§

fn get_funding(&self) -> &[FundingProperty]

Get https://schema.org/funding from Self as borrowed slice.
source§

fn take_funding(&mut self) -> Vec<FundingProperty>

Take https://schema.org/funding from Self as owned vector.
source§

fn get_gtin(&self) -> &[GtinProperty]

Get https://schema.org/gtin from Self as borrowed slice.
source§

fn take_gtin(&mut self) -> Vec<GtinProperty>

Take https://schema.org/gtin from Self as owned vector.
source§

fn get_gtin_12(&self) -> &[Gtin12Property]

Get https://schema.org/gtin12 from Self as borrowed slice.
source§

fn take_gtin_12(&mut self) -> Vec<Gtin12Property>

Take https://schema.org/gtin12 from Self as owned vector.
source§

fn get_gtin_13(&self) -> &[Gtin13Property]

Get https://schema.org/gtin13 from Self as borrowed slice.
source§

fn take_gtin_13(&mut self) -> Vec<Gtin13Property>

Take https://schema.org/gtin13 from Self as owned vector.
source§

fn get_gtin_14(&self) -> &[Gtin14Property]

Get https://schema.org/gtin14 from Self as borrowed slice.
source§

fn take_gtin_14(&mut self) -> Vec<Gtin14Property>

Take https://schema.org/gtin14 from Self as owned vector.
source§

fn get_gtin_8(&self) -> &[Gtin8Property]

Get https://schema.org/gtin8 from Self as borrowed slice.
source§

fn take_gtin_8(&mut self) -> Vec<Gtin8Property>

Take https://schema.org/gtin8 from Self as owned vector.
source§

fn get_has_adult_consideration(&self) -> &[HasAdultConsiderationProperty]

source§

fn take_has_adult_consideration(&mut self) -> Vec<HasAdultConsiderationProperty>

source§

fn get_has_energy_consumption_details( &self ) -> &[HasEnergyConsumptionDetailsProperty]

source§

fn take_has_energy_consumption_details( &mut self ) -> Vec<HasEnergyConsumptionDetailsProperty>

source§

fn get_has_measurement(&self) -> &[HasMeasurementProperty]

Get https://schema.org/hasMeasurement from Self as borrowed slice.
source§

fn take_has_measurement(&mut self) -> Vec<HasMeasurementProperty>

Take https://schema.org/hasMeasurement from Self as owned vector.
source§

fn get_has_merchant_return_policy(&self) -> &[HasMerchantReturnPolicyProperty]

source§

fn take_has_merchant_return_policy( &mut self ) -> Vec<HasMerchantReturnPolicyProperty>

source§

fn get_has_product_return_policy(&self) -> &[HasProductReturnPolicyProperty]

👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/hasMerchantReturnPolicy.
source§

fn take_has_product_return_policy( &mut self ) -> Vec<HasProductReturnPolicyProperty>

👎Deprecated: This schema is archived, see https://schema.org/docs/attic.home.html. This schema is superseded by https://schema.org/hasMerchantReturnPolicy.
source§

fn get_height(&self) -> &[HeightProperty]

Get https://schema.org/height from Self as borrowed slice.
source§

fn take_height(&mut self) -> Vec<HeightProperty>

Take https://schema.org/height from Self as owned vector.
source§

fn get_in_product_group_with_id(&self) -> &[InProductGroupWithIdProperty]

Get https://schema.org/inProductGroupWithID from Self as borrowed slice.
source§

fn take_in_product_group_with_id(&mut self) -> Vec<InProductGroupWithIdProperty>

source§

fn get_is_accessory_or_spare_part_for( &self ) -> &[IsAccessoryOrSparePartForProperty]

source§

fn take_is_accessory_or_spare_part_for( &mut self ) -> Vec<IsAccessoryOrSparePartForProperty>

source§

fn get_is_consumable_for(&self) -> &[IsConsumableForProperty]

Get https://schema.org/isConsumableFor from Self as borrowed slice.
source§

fn take_is_consumable_for(&mut self) -> Vec<IsConsumableForProperty>

Take https://schema.org/isConsumableFor from Self as owned vector.
source§

fn get_is_family_friendly(&self) -> &[IsFamilyFriendlyProperty]

Get https://schema.org/isFamilyFriendly from Self as borrowed slice.
source§

fn take_is_family_friendly(&mut self) -> Vec<IsFamilyFriendlyProperty>

Take https://schema.org/isFamilyFriendly 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.
source§

fn get_is_variant_of(&self) -> &[IsVariantOfProperty]

Get https://schema.org/isVariantOf from Self as borrowed slice.
source§

fn take_is_variant_of(&mut self) -> Vec<IsVariantOfProperty>

Take https://schema.org/isVariantOf from Self as owned vector.
source§

fn get_item_condition(&self) -> &[ItemConditionProperty]

Get https://schema.org/itemCondition from Self as borrowed slice.
source§

fn take_item_condition(&mut self) -> Vec<ItemConditionProperty>

Take https://schema.org/itemCondition from Self as owned vector.
source§

fn get_keywords(&self) -> &[KeywordsProperty]

Get https://schema.org/keywords from Self as borrowed slice.
source§

fn take_keywords(&mut self) -> Vec<KeywordsProperty>

Take https://schema.org/keywords 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_manufacturer(&self) -> &[ManufacturerProperty]

Get https://schema.org/manufacturer from Self as borrowed slice.
source§

fn take_manufacturer(&mut self) -> Vec<ManufacturerProperty>

Take https://schema.org/manufacturer from Self as owned vector.
source§

fn get_material(&self) -> &[MaterialProperty]

Get https://schema.org/material from Self as borrowed slice.
source§

fn take_material(&mut self) -> Vec<MaterialProperty>

Take https://schema.org/material from Self as owned vector.
source§

fn get_mobile_url(&self) -> &[MobileUrlProperty]

Get https://schema.org/mobileUrl from Self as borrowed slice.
source§

fn take_mobile_url(&mut self) -> Vec<MobileUrlProperty>

Take https://schema.org/mobileUrl from Self as owned vector.
source§

fn get_model(&self) -> &[ModelProperty]

Get https://schema.org/model from Self as borrowed slice.
source§

fn take_model(&mut self) -> Vec<ModelProperty>

Take https://schema.org/model from Self as owned vector.
source§

fn get_mpn(&self) -> &[MpnProperty]

Get https://schema.org/mpn from Self as borrowed slice.
source§

fn take_mpn(&mut self) -> Vec<MpnProperty>

Take https://schema.org/mpn from Self as owned vector.
source§

fn get_negative_notes(&self) -> &[NegativeNotesProperty]

Get https://schema.org/negativeNotes from Self as borrowed slice.
source§

fn take_negative_notes(&mut self) -> Vec<NegativeNotesProperty>

Take https://schema.org/negativeNotes from Self as owned vector.
source§

fn get_nsn(&self) -> &[NsnProperty]

Get https://schema.org/nsn from Self as borrowed slice.
source§

fn take_nsn(&mut self) -> Vec<NsnProperty>

Take https://schema.org/nsn 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_pattern(&self) -> &[PatternProperty]

Get https://schema.org/pattern from Self as borrowed slice.
source§

fn take_pattern(&mut self) -> Vec<PatternProperty>

Take https://schema.org/pattern from Self as owned vector.
source§

fn get_positive_notes(&self) -> &[PositiveNotesProperty]

Get https://schema.org/positiveNotes from Self as borrowed slice.
source§

fn take_positive_notes(&mut self) -> Vec<PositiveNotesProperty>

Take https://schema.org/positiveNotes from Self as owned vector.
source§

fn get_product_id(&self) -> &[ProductIdProperty]

Get https://schema.org/productID from Self as borrowed slice.
source§

fn take_product_id(&mut self) -> Vec<ProductIdProperty>

Take https://schema.org/productID from Self as owned vector.
source§

fn get_production_date(&self) -> &[ProductionDateProperty]

Get https://schema.org/productionDate from Self as borrowed slice.
source§

fn take_production_date(&mut self) -> Vec<ProductionDateProperty>

Take https://schema.org/productionDate from Self as owned vector.
source§

fn get_purchase_date(&self) -> &[PurchaseDateProperty]

Get https://schema.org/purchaseDate from Self as borrowed slice.
source§

fn take_purchase_date(&mut self) -> Vec<PurchaseDateProperty>

Take https://schema.org/purchaseDate from Self as owned vector.
source§

fn get_release_date(&self) -> &[ReleaseDateProperty]

Get https://schema.org/releaseDate from Self as borrowed slice.
source§

fn take_release_date(&mut self) -> Vec<ReleaseDateProperty>

Take https://schema.org/releaseDate 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_reviews(&self) -> &[ReviewsProperty]

👎Deprecated: This schema is superseded by https://schema.org/review.
Get https://schema.org/reviews from Self as borrowed slice.
source§

fn take_reviews(&mut self) -> Vec<ReviewsProperty>

👎Deprecated: This schema is superseded by https://schema.org/review.
Take https://schema.org/reviews from Self as owned vector.
source§

fn get_size(&self) -> &[SizeProperty]

Get https://schema.org/size from Self as borrowed slice.
source§

fn take_size(&mut self) -> Vec<SizeProperty>

Take https://schema.org/size from Self as owned vector.
source§

fn get_sku(&self) -> &[SkuProperty]

Get https://schema.org/sku from Self as borrowed slice.
source§

fn take_sku(&mut self) -> Vec<SkuProperty>

Take https://schema.org/sku 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_weight(&self) -> &[WeightProperty]

Get https://schema.org/weight from Self as borrowed slice.
source§

fn take_weight(&mut self) -> Vec<WeightProperty>

Take https://schema.org/weight from Self as owned vector.
source§

fn get_width(&self) -> &[WidthProperty]

Get https://schema.org/width from Self as borrowed slice.
source§

fn take_width(&mut self) -> Vec<WidthProperty>

Take https://schema.org/width from Self as owned vector.
source§

impl SubstanceTrait for Drug

source§

impl ThingTrait for Drug

source§

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>

Take https://schema.org/additionalType from Self as owned vector.
source§

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>

Take https://schema.org/alternateName from Self as owned vector.
source§

fn get_description(&self) -> &[DescriptionProperty]

Get https://schema.org/description from Self as borrowed slice.
source§

fn take_description(&mut self) -> Vec<DescriptionProperty>

Take https://schema.org/description from Self as owned vector.
source§

fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]

source§

fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>

source§

fn get_identifier(&self) -> &[IdentifierProperty]

Get https://schema.org/identifier from Self as borrowed slice.
source§

fn take_identifier(&mut self) -> Vec<IdentifierProperty>

Take https://schema.org/identifier from Self as owned vector.
source§

fn get_image(&self) -> &[ImageProperty]

Get https://schema.org/image from Self as borrowed slice.
source§

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]

Get https://schema.org/mainEntityOfPage from Self as borrowed slice.
source§

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]

Get https://schema.org/name from Self as borrowed slice.
source§

fn take_name(&mut self) -> Vec<NameProperty>

Take https://schema.org/name from Self as owned vector.
source§

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>

Take https://schema.org/potentialAction from Self as owned vector.
source§

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>

Take https://schema.org/sameAs from Self as owned vector.
source§

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>

Take https://schema.org/subjectOf from Self as owned vector.
source§

fn get_url(&self) -> &[UrlProperty]

Get https://schema.org/url from Self as borrowed slice.
source§

fn take_url(&mut self) -> Vec<UrlProperty>

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

Auto Trait Implementations§

§

impl RefUnwindSafe for Drug

§

impl Send for Drug

§

impl Sync for Drug

§

impl Unpin for Drug

§

impl UnwindSafe for Drug

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.