pub trait DrugLegalStatusTrait {
// Required methods
fn get_applicable_location(&self) -> &[ApplicableLocationProperty];
fn take_applicable_location(&mut self) -> Vec<ApplicableLocationProperty>;
}
Expand description
This trait is for properties from https://schema.org/DrugLegalStatus.
Required Methods§
sourcefn get_applicable_location(&self) -> &[ApplicableLocationProperty]
fn get_applicable_location(&self) -> &[ApplicableLocationProperty]
Get https://schema.org/applicableLocation from Self
as borrowed slice.
sourcefn take_applicable_location(&mut self) -> Vec<ApplicableLocationProperty>
fn take_applicable_location(&mut self) -> Vec<ApplicableLocationProperty>
Take https://schema.org/applicableLocation from Self
as owned vector.