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onical uppercase spellings only (e.g. "USD", not "usd").
Variants§
Aed
ISO 4217 AED.
Afn
ISO 4217 AFN.
All
ISO 4217 ALL.
Amd
ISO 4217 AMD.
Ang
ISO 4217 ANG.
Aoa
ISO 4217 AOA.
Ars
ISO 4217 ARS.
Aud
ISO 4217 AUD.
Awg
ISO 4217 AWG.
Azn
ISO 4217 AZN.
Bam
ISO 4217 BAM.
Bbd
ISO 4217 BBD.
Bdt
ISO 4217 BDT.
Bgn
ISO 4217 BGN.
Bhd
ISO 4217 BHD.
Bif
ISO 4217 BIF.
Bmd
ISO 4217 BMD.
Bnd
ISO 4217 BND.
Bob
ISO 4217 BOB.
Bov
ISO 4217 BOV.
Brl
ISO 4217 BRL.
Bsd
ISO 4217 BSD.
Btn
ISO 4217 BTN.
Bwp
ISO 4217 BWP.
Byn
ISO 4217 BYN.
Bzd
ISO 4217 BZD.
Cad
ISO 4217 CAD.
Cdf
ISO 4217 CDF.
Che
ISO 4217 CHE.
Chf
ISO 4217 CHF.
Chw
ISO 4217 CHW.
Clf
ISO 4217 CLF.
Clp
ISO 4217 CLP.
Cny
ISO 4217 CNY.
Cop
ISO 4217 COP.
Cou
ISO 4217 COU.
Crc
ISO 4217 CRC.
Cuc
ISO 4217 CUC.
Cup
ISO 4217 CUP.
Cve
ISO 4217 CVE.
Czk
ISO 4217 CZK.
Djf
ISO 4217 DJF.
Dkk
ISO 4217 DKK.
Dop
ISO 4217 DOP.
Dzd
ISO 4217 DZD.
Egp
ISO 4217 EGP.
Ern
ISO 4217 ERN.
Etb
ISO 4217 ETB.
Eur
ISO 4217 EUR.
Fjd
ISO 4217 FJD.
Fkp
ISO 4217 FKP.
Gbp
ISO 4217 GBP.
Gel
ISO 4217 GEL.
Ghs
ISO 4217 GHS.
Gip
ISO 4217 GIP.
Gmd
ISO 4217 GMD.
Gnf
ISO 4217 GNF.
Gtq
ISO 4217 GTQ.
Gyd
ISO 4217 GYD.
Hkd
ISO 4217 HKD.
Hnl
ISO 4217 HNL.
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ISO 4217 SCR.
Sdg
ISO 4217 SDG.
Sek
ISO 4217 SEK.
Sgd
ISO 4217 SGD.
Shp
ISO 4217 SHP.
Sle
ISO 4217 SLE.
Sos
ISO 4217 SOS.
Srd
ISO 4217 SRD.
Ssp
ISO 4217 SSP.
Stn
ISO 4217 STN.
Svc
ISO 4217 SVC.
Syp
ISO 4217 SYP.
Szl
ISO 4217 SZL.
Thb
ISO 4217 THB.
Tjs
ISO 4217 TJS.
Tmt
ISO 4217 TMT.
Tnd
ISO 4217 TND.
Top
ISO 4217 TOP.
Try
ISO 4217 TRY.
Ttd
ISO 4217 TTD.
Twd
ISO 4217 TWD.
Tzs
ISO 4217 TZS.
Uah
ISO 4217 UAH.
Ugx
ISO 4217 UGX.
Usd
ISO 4217 USD.
Usn
ISO 4217 USN.
Uyi
ISO 4217 UYI.
Uyu
ISO 4217 UYU.
Uyw
ISO 4217 UYW.
Uzs
ISO 4217 UZS.
Ved
ISO 4217 VED.
Ves
ISO 4217 VES.
Vnd
ISO 4217 VND.
Vuv
ISO 4217 VUV.
Wst
ISO 4217 WST.
Xaf
ISO 4217 XAF.
Xag
ISO 4217 XAG.
Xau
ISO 4217 XAU.
Xba
ISO 4217 XBA.
Xbb
ISO 4217 XBB.
Xbc
ISO 4217 XBC.
Xbd
ISO 4217 XBD.
Xcd
ISO 4217 XCD.
Xdr
ISO 4217 XDR.
Xof
ISO 4217 XOF.
Xpd
ISO 4217 XPD.
Xpf
ISO 4217 XPF.
Xpt
ISO 4217 XPT.
Xsu
ISO 4217 XSU.
Xts
ISO 4217 XTS.
Xua
ISO 4217 XUA.
Xxx
ISO 4217 XXX.
Yer
ISO 4217 YER.
Zar
ISO 4217 ZAR.
Zmw
ISO 4217 ZMW.
Zwg
ISO 4217 ZWG.
Implementations§
Trait Implementations§
Source§impl Clone for CurrencyCode
impl Clone for CurrencyCode
Source§fn clone(&self) -> CurrencyCode
fn clone(&self) -> CurrencyCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CurrencyCode
Source§impl Debug for CurrencyCode
impl Debug for CurrencyCode
Source§impl<'de> Deserialize<'de> for CurrencyCode
impl<'de> Deserialize<'de> for CurrencyCode
Source§fn deserialize<D>(
deserializer: D,
) -> Result<CurrencyCode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<CurrencyCode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl Display for CurrencyCode
impl Display for CurrencyCode
impl Eq for CurrencyCode
Source§impl FromStr for CurrencyCode
impl FromStr for CurrencyCode
Source§type Err = ParseCurrencyCodeError
type Err = ParseCurrencyCodeError
Source§fn from_str(s: &str) -> Result<CurrencyCode, <CurrencyCode as FromStr>::Err>
fn from_str(s: &str) -> Result<CurrencyCode, <CurrencyCode as FromStr>::Err>
s to return a value of this type. Read moreSource§impl Hash for CurrencyCode
impl Hash for CurrencyCode
Source§impl PartialEq for CurrencyCode
impl PartialEq for CurrencyCode
Source§impl Serialize for CurrencyCode
impl Serialize for CurrencyCode
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl StructuralPartialEq for CurrencyCode
Source§impl TryFrom<&str> for CurrencyCode
impl TryFrom<&str> for CurrencyCode
Source§type Error = ParseCurrencyCodeError
type Error = ParseCurrencyCodeError
Source§fn try_from(
value: &str,
) -> Result<CurrencyCode, <CurrencyCode as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<CurrencyCode, <CurrencyCode as TryFrom<&str>>::Error>
Auto Trait Implementations§
impl Freeze for CurrencyCode
impl RefUnwindSafe for CurrencyCode
impl Send for CurrencyCode
impl Sync for CurrencyCode
impl Unpin for CurrencyCode
impl UnsafeUnpin for CurrencyCode
impl UnwindSafe for CurrencyCode
Blanket Implementations§
impl<T> AsyncFriendly for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Requestimpl<T> NeighborPriorityQueueIdType for T
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.