pub struct Sleep {
pub user_id: LegacyId,
pub sleeping: bool,
}
Fields§
§user_id: LegacyId
§sleeping: bool
Trait Implementations§
Source§impl BaseParser for Sleep
impl BaseParser for Sleep
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl PacketVariable for Sleep
impl PacketVariable for Sleep
impl StructuralPartialEq for Sleep
Auto Trait Implementations§
impl Freeze for Sleep
impl RefUnwindSafe for Sleep
impl Send for Sleep
impl Sync for Sleep
impl Unpin for Sleep
impl UnwindSafe for Sleep
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