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
sourceimpl 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
sourceimpl AsRef<SetCustomLanguagePackString> for SetCustomLanguagePackString
 
impl AsRef<SetCustomLanguagePackString> for SetCustomLanguagePackString
sourcefn as_ref(&self) -> &SetCustomLanguagePackString
 
fn as_ref(&self) -> &SetCustomLanguagePackString
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SetCustomLanguagePackString
 
impl Clone for SetCustomLanguagePackString
sourcefn clone(&self) -> SetCustomLanguagePackString
 
fn clone(&self) -> SetCustomLanguagePackString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SetCustomLanguagePackString
 
impl Debug for SetCustomLanguagePackString
sourceimpl Default for SetCustomLanguagePackString
 
impl Default for SetCustomLanguagePackString
sourcefn default() -> SetCustomLanguagePackString
 
fn default() -> SetCustomLanguagePackString
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SetCustomLanguagePackString
 
impl<'de> Deserialize<'de> for SetCustomLanguagePackString
sourcefn 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 SetCustomLanguagePackString
impl Send for SetCustomLanguagePackString
impl Sync for SetCustomLanguagePackString
impl Unpin for SetCustomLanguagePackString
impl UnwindSafe for SetCustomLanguagePackString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more