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