pub struct GetLanguagePackString {
pub language_pack_database_path: String,
pub localization_target: String,
pub language_pack_id: String,
pub key: String,
}
Expand description
Returns a string stored in the local database from the specified localization target and language pack by its key. Returns a 404 error if the string is not found. This is an offline method. Can be called before authorization. Can be called synchronously
Fields§
§language_pack_database_path: String
Path to the language pack database in which strings are stored
localization_target: String
Localization target to which the language pack belongs
language_pack_id: String
Language pack identifier
key: String
Language pack key of the string to be returned
Trait Implementations§
Source§impl Clone for GetLanguagePackString
impl Clone for GetLanguagePackString
Source§fn clone(&self) -> GetLanguagePackString
fn clone(&self) -> GetLanguagePackString
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 GetLanguagePackString
impl Debug for GetLanguagePackString
Source§impl<'de> Deserialize<'de> for GetLanguagePackString
impl<'de> Deserialize<'de> for GetLanguagePackString
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 GetLanguagePackString
impl Method for GetLanguagePackString
Auto Trait Implementations§
impl Freeze for GetLanguagePackString
impl RefUnwindSafe for GetLanguagePackString
impl Send for GetLanguagePackString
impl Sync for GetLanguagePackString
impl Unpin for GetLanguagePackString
impl UnwindSafe for GetLanguagePackString
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