pub struct ConnectionPlayerServerPacket {
pub seq1: i32,
pub seq2: i32,
}Expand description
Ping request
Fields§
§seq1: i32§seq2: i32Implementations§
Trait Implementations§
Source§impl Clone for ConnectionPlayerServerPacket
impl Clone for ConnectionPlayerServerPacket
Source§fn clone(&self) -> ConnectionPlayerServerPacket
fn clone(&self) -> ConnectionPlayerServerPacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionPlayerServerPacket
impl Debug for ConnectionPlayerServerPacket
Source§impl Default for ConnectionPlayerServerPacket
impl Default for ConnectionPlayerServerPacket
Source§fn default() -> ConnectionPlayerServerPacket
fn default() -> ConnectionPlayerServerPacket
Returns the “default value” for a type. Read more
Source§impl EoSerialize for ConnectionPlayerServerPacket
impl EoSerialize for ConnectionPlayerServerPacket
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a ConnectionPlayerServerPacket into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a ConnectionPlayerServerPacket from an EoReader instance
Source§impl PartialEq for ConnectionPlayerServerPacket
impl PartialEq for ConnectionPlayerServerPacket
Source§fn eq(&self, other: &ConnectionPlayerServerPacket) -> bool
fn eq(&self, other: &ConnectionPlayerServerPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConnectionPlayerServerPacket
impl StructuralPartialEq for ConnectionPlayerServerPacket
Auto Trait Implementations§
impl Freeze for ConnectionPlayerServerPacket
impl RefUnwindSafe for ConnectionPlayerServerPacket
impl Send for ConnectionPlayerServerPacket
impl Sync for ConnectionPlayerServerPacket
impl Unpin for ConnectionPlayerServerPacket
impl UnwindSafe for ConnectionPlayerServerPacket
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