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: LanguagePackInfoInformation 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§
Source§impl Clone for SetCustomLanguagePack
 
impl Clone for SetCustomLanguagePack
Source§fn clone(&self) -> SetCustomLanguagePack
 
fn clone(&self) -> SetCustomLanguagePack
Returns a duplicate 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 SetCustomLanguagePack
 
impl Debug for SetCustomLanguagePack
Source§impl<'de> Deserialize<'de> for SetCustomLanguagePack
 
impl<'de> Deserialize<'de> for SetCustomLanguagePack
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
Source§impl Method for SetCustomLanguagePack
 
impl Method for SetCustomLanguagePack
Auto Trait Implementations§
impl Freeze for SetCustomLanguagePack
impl RefUnwindSafe for SetCustomLanguagePack
impl Send for SetCustomLanguagePack
impl Sync for SetCustomLanguagePack
impl Unpin for SetCustomLanguagePack
impl UnwindSafe for SetCustomLanguagePack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more