pub struct RegionMatch {
pub region_id: u32,
pub region_key: String,
pub namespace: String,
pub code: String,
pub radio_name: String,
pub wire_code: RegionCode,
pub layer: String,
pub priority: i64,
pub membership: Membership,
pub site: Option<(f64, f64)>,
pub default_rank: Option<i64>,
}Expand description
One semantic region covering a position.
Fields§
§region_id: u32Database row id.
region_key: StringNamespaced identifier, such as iata-airport:SFO.
namespace: StringNamespace alone. Tooling only; never transmitted.
code: StringCode within the namespace.
radio_name: StringThe string a radio is configured with.
wire_code: RegionCodeCanonical UMSH region code for Self::radio_name.
layer: StringWhich layer produced this region.
priority: i64Presentation order relative to other matches.
membership: MembershipCore or expanded.
site: Option<(f64, f64)>Position of the generating site, for the layers that have one.
default_rank: Option<i64>Preference order for the suggested default region, if eligible.
Trait Implementations§
Source§impl Clone for RegionMatch
impl Clone for RegionMatch
Source§fn clone(&self) -> RegionMatch
fn clone(&self) -> RegionMatch
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegionMatch
impl Debug for RegionMatch
Source§impl PartialEq for RegionMatch
impl PartialEq for RegionMatch
impl StructuralPartialEq for RegionMatch
Auto Trait Implementations§
impl Freeze for RegionMatch
impl RefUnwindSafe for RegionMatch
impl Send for RegionMatch
impl Sync for RegionMatch
impl Unpin for RegionMatch
impl UnwindSafe for RegionMatch
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)