Struct rust_tdlib::types::SetCustomLanguagePackString
source · pub struct SetCustomLanguagePackString { /* private fields */ }
Expand description
Adds, edits or deletes a string in a custom local language pack. Can be called before authorization
Implementations§
source§impl SetCustomLanguagePackString
impl SetCustomLanguagePackString
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> SetCustomLanguagePackStringBuilder
pub fn language_pack_id(&self) -> &String
pub fn new_string(&self) -> &LanguagePackString
Trait Implementations§
source§impl AsRef<SetCustomLanguagePackString> for SetCustomLanguagePackString
impl AsRef<SetCustomLanguagePackString> for SetCustomLanguagePackString
source§fn as_ref(&self) -> &SetCustomLanguagePackString
fn as_ref(&self) -> &SetCustomLanguagePackString
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SetCustomLanguagePackString
impl Clone for SetCustomLanguagePackString
source§fn clone(&self) -> SetCustomLanguagePackString
fn clone(&self) -> SetCustomLanguagePackString
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 SetCustomLanguagePackString
impl Debug for SetCustomLanguagePackString
source§impl Default for SetCustomLanguagePackString
impl Default for SetCustomLanguagePackString
source§fn default() -> SetCustomLanguagePackString
fn default() -> SetCustomLanguagePackString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetCustomLanguagePackString
impl<'de> Deserialize<'de> for SetCustomLanguagePackString
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