pub enum RegionCode {
Show 17 variants
Ar,
Au,
Br,
Ca,
Cl,
Cn,
Co,
De,
Es,
Fr,
Gb,
It,
Jp,
Mx,
Pe,
Pt,
Us,
}Expand description
Closed set of region subtags. Per-language coverage is what the voice picker table guarantees a region-matched Edge voice for.
Uppercase 2-letter ISO-3166-1 alpha-2 codes when serialised. Variants listed alphabetically.
Variants§
Ar
Argentina.
Au
Australia.
Br
Brazil.
Ca
Canada.
Cl
Chile.
Cn
China.
Co
Colombia.
De
Germany.
Es
Spain.
Fr
France.
Gb
United Kingdom.
It
Italy.
Jp
Japan.
Mx
Mexico.
Pe
Peru.
Pt
Portugal.
Us
United States.
Implementations§
Trait Implementations§
Source§impl Clone for RegionCode
impl Clone for RegionCode
Source§fn clone(&self) -> RegionCode
fn clone(&self) -> RegionCode
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 moreSource§impl Debug for RegionCode
impl Debug for RegionCode
Source§impl Hash for RegionCode
impl Hash for RegionCode
Source§impl PartialEq for RegionCode
impl PartialEq for RegionCode
Source§fn eq(&self, other: &RegionCode) -> bool
fn eq(&self, other: &RegionCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RegionCode
impl Eq for RegionCode
impl StructuralPartialEq for RegionCode
Auto Trait Implementations§
impl Freeze for RegionCode
impl RefUnwindSafe for RegionCode
impl Send for RegionCode
impl Sync for RegionCode
impl Unpin for RegionCode
impl UnsafeUnpin for RegionCode
impl UnwindSafe for RegionCode
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