Struct rust_tdlib::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>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetPreferredCountryLanguageimpl Send for GetPreferredCountryLanguageimpl Sync for GetPreferredCountryLanguageimpl Unpin for GetPreferredCountryLanguageimpl UnwindSafe for GetPreferredCountryLanguageBlanket Implementations
Mutably borrows from an owned value. Read more