pub struct LanguagePackString {
pub key: String,
pub value: Option<LanguagePackStringValue>,
}
Expand description
Represents one language pack string
Fields§
§key: String
String key
value: Option<LanguagePackStringValue>
String value; pass null if the string needs to be taken from the built-in English language pack
Trait Implementations§
Source§impl Clone for LanguagePackString
impl Clone for LanguagePackString
Source§fn clone(&self) -> LanguagePackString
fn clone(&self) -> LanguagePackString
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 LanguagePackString
impl Debug for LanguagePackString
Source§impl Default for LanguagePackString
impl Default for LanguagePackString
Source§fn default() -> LanguagePackString
fn default() -> LanguagePackString
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LanguagePackString
impl<'de> Deserialize<'de> for LanguagePackString
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 PartialEq for LanguagePackString
impl PartialEq for LanguagePackString
Source§impl Serialize for LanguagePackString
impl Serialize for LanguagePackString
impl StructuralPartialEq for LanguagePackString
Auto Trait Implementations§
impl Freeze for LanguagePackString
impl RefUnwindSafe for LanguagePackString
impl Send for LanguagePackString
impl Sync for LanguagePackString
impl Unpin for LanguagePackString
impl UnwindSafe for LanguagePackString
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