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