pub trait DefinedRegionTrait {
    // Required methods
    fn get_address_country(&self) -> &[AddressCountryProperty];
    fn take_address_country(&mut self) -> Vec<AddressCountryProperty>;
    fn get_address_region(&self) -> &[AddressRegionProperty];
    fn take_address_region(&mut self) -> Vec<AddressRegionProperty>;
    fn get_postal_code(&self) -> &[PostalCodeProperty];
    fn take_postal_code(&mut self) -> Vec<PostalCodeProperty>;
    fn get_postal_code_prefix(&self) -> &[PostalCodePrefixProperty];
    fn take_postal_code_prefix(&mut self) -> Vec<PostalCodePrefixProperty>;
    fn get_postal_code_range(&self) -> &[PostalCodeRangeProperty];
    fn take_postal_code_range(&mut self) -> Vec<PostalCodeRangeProperty>;
}
Expand description

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

Required Methods§

Implementors§