Struct rtdlib::types::GetPreferredCountryLanguage [−][src]
pub struct GetPreferredCountryLanguage { /* fields omitted */ }
Expand description
Returns an IETF language tag of the language preferred in the country, which should be used to fill native fields in Telegram Passport personal details. Returns a 404 error if unknown
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for GetPreferredCountryLanguage
impl Send for GetPreferredCountryLanguage
impl Sync for GetPreferredCountryLanguage
impl Unpin for GetPreferredCountryLanguage
impl UnwindSafe for GetPreferredCountryLanguage
Blanket Implementations
Mutably borrows from an owned value. Read more