pub struct RegionOption {
pub display_name: &'static str,
pub region_code: &'static str,
}Expand description
A human-readable Region for the TUI’s launch-region picker — the same
concept as Settings → General → Language & Region → Region on a real
device, e.g. “Brazil” → BR. Curated rather than exhaustive: the App
Store territories engineers actually test region-gated features against,
not every ISO 3166-1 code. The CLI’s --region flag bypasses this table
entirely and takes a raw code, so it is unaffected by what is or isn’t
listed here.
Deliberately distinct from holodeck location (GPS coordinates) —
“Region” here never means a physical place.
Fields§
§display_name: &'static str§region_code: &'static strImplementations§
Source§impl RegionOption
impl RegionOption
pub const ALL: &'static [RegionOption]
Trait Implementations§
Source§impl Clone for RegionOption
impl Clone for RegionOption
Source§fn clone(&self) -> RegionOption
fn clone(&self) -> RegionOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegionOption
Source§impl Debug for RegionOption
impl Debug for RegionOption
impl Eq for RegionOption
Source§impl PartialEq for RegionOption
impl PartialEq for RegionOption
impl StructuralPartialEq for RegionOption
Auto Trait Implementations§
impl Freeze for RegionOption
impl RefUnwindSafe for RegionOption
impl Send for RegionOption
impl Sync for RegionOption
impl Unpin for RegionOption
impl UnsafeUnpin for RegionOption
impl UnwindSafe for RegionOption
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