Struct airmash_protocol::client::Pong [−][src]
pub struct Pong {
pub num: u32,
}Response packet to server
Pings.
Fields
num: u32
The ping number, should correspond
to the num field within in the
Ping packet
sent by the server.
Trait Implementations
impl Copy for Pong[src]
impl Copy for Pongimpl Clone for Pong[src]
impl Clone for Pongfn clone(&self) -> Pong[src]
fn clone(&self) -> PongReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Pong[src]
impl Debug for Pongfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Pong> for ClientPacket[src]
impl From<Pong> for ClientPacket