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§
Source§impl 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§
Source§impl AsRef<SetCustomLanguagePackString> for SetCustomLanguagePackString
impl AsRef<SetCustomLanguagePackString> for SetCustomLanguagePackString
Source§fn as_ref(&self) -> &SetCustomLanguagePackString
fn as_ref(&self) -> &SetCustomLanguagePackString
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetCustomLanguagePackString
impl Clone for SetCustomLanguagePackString
Source§fn clone(&self) -> SetCustomLanguagePackString
fn clone(&self) -> SetCustomLanguagePackString
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 SetCustomLanguagePackString
impl Debug for SetCustomLanguagePackString
Source§impl Default for SetCustomLanguagePackString
impl Default for SetCustomLanguagePackString
Source§fn default() -> SetCustomLanguagePackString
fn default() -> SetCustomLanguagePackString
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetCustomLanguagePackString
impl<'de> Deserialize<'de> for SetCustomLanguagePackString
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
Auto Trait Implementations§
impl Freeze for SetCustomLanguagePackString
impl RefUnwindSafe for SetCustomLanguagePackString
impl Send for SetCustomLanguagePackString
impl Sync for SetCustomLanguagePackString
impl Unpin for SetCustomLanguagePackString
impl UnwindSafe for SetCustomLanguagePackString
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