pub struct ConnectPacket {
pub sid: Sid,
}
Expand description
Connect packet sent by the client
Fields§
§sid: Sid
The socket ID
Trait Implementations§
Source§impl Clone for ConnectPacket
impl Clone for ConnectPacket
Source§fn clone(&self) -> ConnectPacket
fn clone(&self) -> ConnectPacket
Returns a copy 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 ConnectPacket
impl Debug for ConnectPacket
Source§impl<'de> Deserialize<'de> for ConnectPacket
impl<'de> Deserialize<'de> for ConnectPacket
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
Auto Trait Implementations§
impl Freeze for ConnectPacket
impl RefUnwindSafe for ConnectPacket
impl Send for ConnectPacket
impl Sync for ConnectPacket
impl Unpin for ConnectPacket
impl UnwindSafe for ConnectPacket
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