Struct tdlib_types::methods::SetCustomLanguagePack
source · pub struct SetCustomLanguagePack {
pub info: LanguagePackInfo,
pub strings: Vec<LanguagePackString>,
}
Expand description
Adds or changes a custom language pack to the current localization target
Fields
info: LanguagePackInfo
Information about the language pack. Language pack ID must start with ‘X’, consist only of English letters, digits and hyphens, and must not exceed 64 characters
strings: Vec<LanguagePackString>
Strings of the new language pack
Trait Implementations
sourceimpl Clone for SetCustomLanguagePack
impl Clone for SetCustomLanguagePack
sourcefn clone(&self) -> SetCustomLanguagePack
fn clone(&self) -> SetCustomLanguagePack
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 moresourceimpl Debug for SetCustomLanguagePack
impl Debug for SetCustomLanguagePack
sourceimpl<'de> Deserialize<'de> for SetCustomLanguagePack
impl<'de> Deserialize<'de> for SetCustomLanguagePack
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
sourceimpl Method for SetCustomLanguagePack
impl Method for SetCustomLanguagePack
sourceimpl Serialize for SetCustomLanguagePack
impl Serialize for SetCustomLanguagePack
Auto Trait Implementations
impl RefUnwindSafe for SetCustomLanguagePack
impl Send for SetCustomLanguagePack
impl Sync for SetCustomLanguagePack
impl Unpin for SetCustomLanguagePack
impl UnwindSafe for SetCustomLanguagePack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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