pub enum MncWidth {
Two,
Three,
}Expand description
How many digits an MCC’s network codes occupy.
The value a caller must supply before an IMSI can be split. See the module documentation for why this crate does not decide it.
Variants§
Two
Two-digit MNCs — most of the world.
Three
Three-digit MNCs — the North American region, and some others.
Implementations§
Trait Implementations§
impl Copy for MncWidth
impl Eq for MncWidth
Source§impl Ord for MncWidth
impl Ord for MncWidth
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 MncWidth
impl PartialOrd for MncWidth
impl StructuralPartialEq for MncWidth
Auto Trait Implementations§
impl Freeze for MncWidth
impl RefUnwindSafe for MncWidth
impl Send for MncWidth
impl Sync for MncWidth
impl Unpin for MncWidth
impl UnsafeUnpin for MncWidth
impl UnwindSafe for MncWidth
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