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