pub trait LegislationTrait {
Show 26 methods // Required methods fn get_jurisdiction(&self) -> &[JurisdictionProperty]; fn take_jurisdiction(&mut self) -> Vec<JurisdictionProperty>; fn get_legislation_applies(&self) -> &[LegislationAppliesProperty]; fn take_legislation_applies(&mut self) -> Vec<LegislationAppliesProperty>; fn get_legislation_changes(&self) -> &[LegislationChangesProperty]; fn take_legislation_changes(&mut self) -> Vec<LegislationChangesProperty>; fn get_legislation_consolidates(&self) -> &[LegislationConsolidatesProperty]; fn take_legislation_consolidates( &mut self ) -> Vec<LegislationConsolidatesProperty>; fn get_legislation_date(&self) -> &[LegislationDateProperty]; fn take_legislation_date(&mut self) -> Vec<LegislationDateProperty>; fn get_legislation_date_version(&self) -> &[LegislationDateVersionProperty]; fn take_legislation_date_version( &mut self ) -> Vec<LegislationDateVersionProperty>; fn get_legislation_identifier(&self) -> &[LegislationIdentifierProperty]; fn take_legislation_identifier( &mut self ) -> Vec<LegislationIdentifierProperty>; fn get_legislation_jurisdiction(&self) -> &[LegislationJurisdictionProperty]; fn take_legislation_jurisdiction( &mut self ) -> Vec<LegislationJurisdictionProperty>; fn get_legislation_legal_force(&self) -> &[LegislationLegalForceProperty]; fn take_legislation_legal_force( &mut self ) -> Vec<LegislationLegalForceProperty>; fn get_legislation_passed_by(&self) -> &[LegislationPassedByProperty]; fn take_legislation_passed_by(&mut self) -> Vec<LegislationPassedByProperty>; fn get_legislation_responsible(&self) -> &[LegislationResponsibleProperty]; fn take_legislation_responsible( &mut self ) -> Vec<LegislationResponsibleProperty>; fn get_legislation_transposes(&self) -> &[LegislationTransposesProperty]; fn take_legislation_transposes( &mut self ) -> Vec<LegislationTransposesProperty>; fn get_legislation_type(&self) -> &[LegislationTypeProperty]; fn take_legislation_type(&mut self) -> Vec<LegislationTypeProperty>;
}
Expand description

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

Required Methods§

source

fn get_jurisdiction(&self) -> &[JurisdictionProperty]

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

source

fn take_jurisdiction(&mut self) -> Vec<JurisdictionProperty>

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

source

fn get_legislation_applies(&self) -> &[LegislationAppliesProperty]

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

source

fn take_legislation_applies(&mut self) -> Vec<LegislationAppliesProperty>

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

source

fn get_legislation_changes(&self) -> &[LegislationChangesProperty]

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

source

fn take_legislation_changes(&mut self) -> Vec<LegislationChangesProperty>

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

source

fn get_legislation_consolidates(&self) -> &[LegislationConsolidatesProperty]

source

fn take_legislation_consolidates( &mut self ) -> Vec<LegislationConsolidatesProperty>

source

fn get_legislation_date(&self) -> &[LegislationDateProperty]

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

source

fn take_legislation_date(&mut self) -> Vec<LegislationDateProperty>

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

source

fn get_legislation_date_version(&self) -> &[LegislationDateVersionProperty]

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

source

fn take_legislation_date_version( &mut self ) -> Vec<LegislationDateVersionProperty>

source

fn get_legislation_identifier(&self) -> &[LegislationIdentifierProperty]

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

source

fn take_legislation_identifier(&mut self) -> Vec<LegislationIdentifierProperty>

source

fn get_legislation_jurisdiction(&self) -> &[LegislationJurisdictionProperty]

source

fn take_legislation_jurisdiction( &mut self ) -> Vec<LegislationJurisdictionProperty>

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

source

fn get_legislation_passed_by(&self) -> &[LegislationPassedByProperty]

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

source

fn take_legislation_passed_by(&mut self) -> Vec<LegislationPassedByProperty>

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

source

fn get_legislation_responsible(&self) -> &[LegislationResponsibleProperty]

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

source

fn take_legislation_responsible( &mut self ) -> Vec<LegislationResponsibleProperty>

source

fn get_legislation_transposes(&self) -> &[LegislationTransposesProperty]

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

source

fn take_legislation_transposes(&mut self) -> Vec<LegislationTransposesProperty>

source

fn get_legislation_type(&self) -> &[LegislationTypeProperty]

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

source

fn take_legislation_type(&mut self) -> Vec<LegislationTypeProperty>

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

Implementors§