pub struct Pong {
pub id: u32,
}
Expand description
Send a ping-reply (pong) to the admin that sent us the ping packet.
Fields§
§id: u32
Should be the same as read from the admins ping packet.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pong
impl<'de> Deserialize<'de> for Pong
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Pong
impl StructuralPartialEq for Pong
Auto Trait Implementations§
impl Freeze for Pong
impl RefUnwindSafe for Pong
impl Send for Pong
impl Sync for Pong
impl Unpin for Pong
impl UnwindSafe for Pong
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