pub trait GovernmentServiceTrait {
// Required methods
fn get_jurisdiction(&self) -> &[JurisdictionProperty];
fn take_jurisdiction(&mut self) -> Vec<JurisdictionProperty>;
fn get_service_operator(&self) -> &[ServiceOperatorProperty];
fn take_service_operator(&mut self) -> Vec<ServiceOperatorProperty>;
}
Expand description
This trait is for properties from https://schema.org/GovernmentService.
Required Methods§
sourcefn get_jurisdiction(&self) -> &[JurisdictionProperty]
fn get_jurisdiction(&self) -> &[JurisdictionProperty]
Get https://schema.org/jurisdiction from Self
as borrowed slice.
sourcefn take_jurisdiction(&mut self) -> Vec<JurisdictionProperty>
fn take_jurisdiction(&mut self) -> Vec<JurisdictionProperty>
Take https://schema.org/jurisdiction from Self
as owned vector.
sourcefn get_service_operator(&self) -> &[ServiceOperatorProperty]
fn get_service_operator(&self) -> &[ServiceOperatorProperty]
Get https://schema.org/serviceOperator from Self
as borrowed slice.
sourcefn take_service_operator(&mut self) -> Vec<ServiceOperatorProperty>
fn take_service_operator(&mut self) -> Vec<ServiceOperatorProperty>
Take https://schema.org/serviceOperator from Self
as owned vector.