pub struct TextImage {
pub document_id: i64,
pub w: i32,
pub h: i32,
}Expand description
Fields§
§document_id: i64§w: i32§h: i32Trait Implementations§
Source§impl Deserializable for TextImage
impl Deserializable for TextImage
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 TextImage
impl Identifiable for TextImage
Source§const CONSTRUCTOR_ID: u32 = 0x081ccf4f
const CONSTRUCTOR_ID: u32 = 0x081ccf4f
The constructor ID as specified in the TL schema.
Source§impl Serializable for TextImage
impl Serializable for TextImage
impl StructuralPartialEq for TextImage
Auto Trait Implementations§
impl Freeze for TextImage
impl RefUnwindSafe for TextImage
impl Send for TextImage
impl Sync for TextImage
impl Unpin for TextImage
impl UnsafeUnpin for TextImage
impl UnwindSafe for TextImage
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