pub struct CharacterUndeletionRequestPacket {
pub char_id: u32,
}Expand description
(0x11, 0x90) Character Undeletion Request.
(C -> S) Sent when a client wants to cancel a character deletion.
Respond with: crate::protocol::Packet::CharacterUndeletion
Fields§
§char_id: u32Character ID to cancel deletion.
Trait Implementations§
source§impl Clone for CharacterUndeletionRequestPacket
impl Clone for CharacterUndeletionRequestPacket
source§fn clone(&self) -> CharacterUndeletionRequestPacket
fn clone(&self) -> CharacterUndeletionRequestPacket
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 Default for CharacterUndeletionRequestPacket
impl Default for CharacterUndeletionRequestPacket
source§fn default() -> CharacterUndeletionRequestPacket
fn default() -> CharacterUndeletionRequestPacket
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CharacterUndeletionRequestPacket
impl<'de> Deserialize<'de> for CharacterUndeletionRequestPacket
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
source§impl PacketReadWrite for CharacterUndeletionRequestPacket
impl PacketReadWrite for CharacterUndeletionRequestPacket
source§fn read(
reader: &mut (impl Read + Seek),
flags: &Flags,
packet_type: PacketType,
) -> Result<Self, PacketError>
fn read( reader: &mut (impl Read + Seek), flags: &Flags, packet_type: PacketType, ) -> Result<Self, PacketError>
Reads a packet from a stream.
source§fn write(&self, packet_type: PacketType) -> Result<Vec<u8>, PacketError>
fn write(&self, packet_type: PacketType) -> Result<Vec<u8>, PacketError>
Writes a packet to a Vec.
source§impl PartialEq for CharacterUndeletionRequestPacket
impl PartialEq for CharacterUndeletionRequestPacket
source§fn eq(&self, other: &CharacterUndeletionRequestPacket) -> bool
fn eq(&self, other: &CharacterUndeletionRequestPacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CharacterUndeletionRequestPacket
Auto Trait Implementations§
impl Freeze for CharacterUndeletionRequestPacket
impl RefUnwindSafe for CharacterUndeletionRequestPacket
impl Send for CharacterUndeletionRequestPacket
impl Sync for CharacterUndeletionRequestPacket
impl Unpin for CharacterUndeletionRequestPacket
impl UnwindSafe for CharacterUndeletionRequestPacket
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)