pub trait LegislationObjectTrait {
// Required methods
fn get_legislation_legal_value(&self) -> &[LegislationLegalValueProperty];
fn take_legislation_legal_value(
&mut self
) -> Vec<LegislationLegalValueProperty>;
}
Expand description
This trait is for properties from https://schema.org/LegislationObject.
Required Methods§
sourcefn get_legislation_legal_value(&self) -> &[LegislationLegalValueProperty]
fn get_legislation_legal_value(&self) -> &[LegislationLegalValueProperty]
Get https://schema.org/legislationLegalValue from Self
as borrowed slice.
sourcefn take_legislation_legal_value(&mut self) -> Vec<LegislationLegalValueProperty>
fn take_legislation_legal_value(&mut self) -> Vec<LegislationLegalValueProperty>
Take https://schema.org/legislationLegalValue from Self
as owned vector.