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
GD
GE
GH
GM
GN
GQ
GR
GT
GW
GY
HK
HN
HR
HT
HU
ID
IE
IL
IN
IQ
IR
IS
IT
JM
JO
JP
KE
KG
KH
KI
KM
KN
KR
KW
KZ
LA
LB
LC
LK
LR
LS
LT
LU
LV
LY
MA
MC
MD
ME
MG
MH
MK
ML
MM
MN
MO
MR
MT
MU
MV
MW
MX
MY
MZ
NA
NE
NG
NI
NL
NO
NP
NR
NU
NZ
OM
PA
PE
PG
PH
PK
PL
PR
PS
PT
PW
PY
QA
RE
RO
RS
RU
RW
SA
SB
SC
SD
SE
SG
SI
SK
SL
SM
SN
SO
SR
SS
ST
SV
SY
SZ
TD
TG
TH
TJ
TL
TM
TN
TO
TR
TT
TV
TZ
UA
UG
US
UY
UZ
VC
VE
VN
VU
WS
YE
YT
ZA
ZM
ZW
Trait Implementations§
Source§impl Clone for CountryCode
impl Clone for CountryCode
Source§fn clone(&self) -> CountryCode
fn clone(&self) -> CountryCode
Returns a duplicate of the value. Read more
1.0.0 · 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 CountryCode
impl Debug for CountryCode
Source§impl<'de> Deserialize<'de> for CountryCode
impl<'de> Deserialize<'de> for CountryCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CountryCode
impl Display for CountryCode
Source§impl<'_derivative_strum> From<&'_derivative_strum CountryCode> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum CountryCode> for &'static str
Source§fn from(x: &'_derivative_strum CountryCode) -> &'static str
fn from(x: &'_derivative_strum CountryCode) -> &'static str
Converts to this type from the input type.
Source§impl From<CountryCode> for &'static str
impl From<CountryCode> for &'static str
Source§fn from(x: CountryCode) -> &'static str
fn from(x: CountryCode) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for CountryCode
impl FromStr for CountryCode
Source§impl Hash for CountryCode
impl Hash for CountryCode
Source§impl IntoEnumIterator for CountryCode
impl IntoEnumIterator for CountryCode
type Iterator = CountryCodeIter
fn iter() -> CountryCodeIter ⓘ
Source§impl PartialEq for CountryCode
impl PartialEq for CountryCode
Source§impl Serialize for CountryCode
impl Serialize for CountryCode
Source§impl TryFrom<&str> for CountryCode
impl TryFrom<&str> for CountryCode
impl Copy for CountryCode
impl Eq for CountryCode
impl StructuralPartialEq for CountryCode
Auto Trait Implementations§
impl Freeze for CountryCode
impl RefUnwindSafe for CountryCode
impl Send for CountryCode
impl Sync for CountryCode
impl Unpin for CountryCode
impl UnwindSafe for CountryCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.