pub enum Region {
Domestic,
Eea,
RestOfWorld,
}Expand description
Where usage happened, relative to the regulated area.
Variants§
Domestic
The subscriber’s own country.
Not their own network. A subscriber national-roaming on a second network
at home is domestic: Regulation (EU) 2022/612 regulates roaming abroad,
and counting a domestic visit as regulated roaming inflates the side of
the ratio that decides whether a customer may be surcharged.
is_abroad is the country comparison;
UsageRecord::is_roaming is the
network one, and they are not the same question.
Eea
Another network inside the European Economic Area — regulated roaming.
RestOfWorld
Outside the EEA, where the fair use rules do not reach.
Excluded from both sides of the ratio. Counting it as roaming inflates a test that decides whether a customer may be surcharged.
Implementations§
Trait Implementations§
impl Copy for Region
impl Eq for Region
Source§impl Ord for Region
impl Ord for Region
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Region
impl PartialOrd for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnsafeUnpin for Region
impl UnwindSafe for Region
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more