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