Struct tdlib::types::LanguagePackString
source · pub struct LanguagePackString {
pub key: String,
pub value: Option<LanguagePackStringValue>,
}
Expand description
Represents one language pack string
Fields§
§key: String
String key
value: Option<LanguagePackStringValue>
String value; pass null if the string needs to be taken from the built-in English language pack
Trait Implementations§
source§impl Clone for LanguagePackString
impl Clone for LanguagePackString
source§fn clone(&self) -> LanguagePackString
fn clone(&self) -> LanguagePackString
Returns a copy 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 LanguagePackString
impl Debug for LanguagePackString
source§impl<'de> Deserialize<'de> for LanguagePackString
impl<'de> Deserialize<'de> for LanguagePackString
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