pub struct JsonArray {
pub value: Vec<Jsonvalue>,
}Expand description
Fields§
§value: Vec<Jsonvalue>Trait Implementations§
Source§impl Deserializable for JsonArray
impl Deserializable for JsonArray
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 Identifiable for JsonArray
impl Identifiable for JsonArray
Source§const CONSTRUCTOR_ID: u32 = 0xf7444763
const CONSTRUCTOR_ID: u32 = 0xf7444763
The constructor ID as specified in the TL schema.
Source§impl Serializable for JsonArray
impl Serializable for JsonArray
impl StructuralPartialEq for JsonArray
Auto Trait Implementations§
impl Freeze for JsonArray
impl RefUnwindSafe for JsonArray
impl Send for JsonArray
impl Sync for JsonArray
impl Unpin for JsonArray
impl UnsafeUnpin for JsonArray
impl UnwindSafe for JsonArray
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