pub struct LangPackString {
pub key: String,
pub value: String,
}Expand description
Fields§
§key: String§value: StringTrait Implementations§
Source§impl Clone for LangPackString
impl Clone for LangPackString
Source§fn clone(&self) -> LangPackString
fn clone(&self) -> LangPackString
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 LangPackString
impl Debug for LangPackString
Source§impl Deserializable for LangPackString
impl Deserializable for LangPackString
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<LangPackString> for LangPackString
impl From<LangPackString> for LangPackString
Source§fn from(x: LangPackString) -> Self
fn from(x: LangPackString) -> Self
Converts to this type from the input type.
Source§impl Identifiable for LangPackString
impl Identifiable for LangPackString
Source§const CONSTRUCTOR_ID: u32 = 0xcad181f6
const CONSTRUCTOR_ID: u32 = 0xcad181f6
The constructor ID as specified in the TL schema.
Source§impl PartialEq for LangPackString
impl PartialEq for LangPackString
Source§impl Serializable for LangPackString
impl Serializable for LangPackString
Source§impl TryFrom<LangPackString> for LangPackString
impl TryFrom<LangPackString> for LangPackString
Source§type Error = LangPackString
type Error = LangPackString
The type returned in the event of a conversion error.
impl StructuralPartialEq for LangPackString
Auto Trait Implementations§
impl Freeze for LangPackString
impl RefUnwindSafe for LangPackString
impl Send for LangPackString
impl Sync for LangPackString
impl Unpin for LangPackString
impl UnsafeUnpin for LangPackString
impl UnwindSafe for LangPackString
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