pub struct JsonString {
pub value: String,
}Expand description
Fields§
§value: StringTrait Implementations§
Source§impl Clone for JsonString
impl Clone for JsonString
Source§fn clone(&self) -> JsonString
fn clone(&self) -> JsonString
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 JsonString
impl Debug for JsonString
Source§impl Deserializable for JsonString
impl Deserializable for JsonString
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<JsonString> for Jsonvalue
impl From<JsonString> for Jsonvalue
Source§fn from(x: JsonString) -> Self
fn from(x: JsonString) -> Self
Converts to this type from the input type.
Source§impl Identifiable for JsonString
impl Identifiable for JsonString
Source§const CONSTRUCTOR_ID: u32 = 0xb71e767a
const CONSTRUCTOR_ID: u32 = 0xb71e767a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for JsonString
impl PartialEq for JsonString
Source§impl Serializable for JsonString
impl Serializable for JsonString
Source§impl TryFrom<Jsonvalue> for JsonString
impl TryFrom<Jsonvalue> for JsonString
impl StructuralPartialEq for JsonString
Auto Trait Implementations§
impl Freeze for JsonString
impl RefUnwindSafe for JsonString
impl Send for JsonString
impl Sync for JsonString
impl Unpin for JsonString
impl UnsafeUnpin for JsonString
impl UnwindSafe for JsonString
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