#[non_exhaustive]pub enum GetAnnualFlyingStarsParamsLang {
En,
Tr,
De,
Es,
Hi,
Pt,
Fr,
Ru,
ZhHans,
ZhHant,
Other(String),
}Expand description
Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
En
en
Tr
tr
De
de
Es
es
Hi
hi
Pt
pt
Fr
fr
Ru
ru
ZhHans
zh-Hans
ZhHant
zh-Hant
Other(String)
A value this SDK version does not list, kept verbatim.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for GetAnnualFlyingStarsParamsLang
impl AsRef<str> for GetAnnualFlyingStarsParamsLang
Source§impl<'de> Deserialize<'de> for GetAnnualFlyingStarsParamsLang
impl<'de> Deserialize<'de> for GetAnnualFlyingStarsParamsLang
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GetAnnualFlyingStarsParamsLang
Source§impl From<&str> for GetAnnualFlyingStarsParamsLang
impl From<&str> for GetAnnualFlyingStarsParamsLang
impl StructuralPartialEq for GetAnnualFlyingStarsParamsLang
Auto Trait Implementations§
impl Freeze for GetAnnualFlyingStarsParamsLang
impl RefUnwindSafe for GetAnnualFlyingStarsParamsLang
impl Send for GetAnnualFlyingStarsParamsLang
impl Sync for GetAnnualFlyingStarsParamsLang
impl Unpin for GetAnnualFlyingStarsParamsLang
impl UnsafeUnpin for GetAnnualFlyingStarsParamsLang
impl UnwindSafe for GetAnnualFlyingStarsParamsLang
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