pub struct ItemDataUpdate {
pub id: LegacyStringId,
pub item_data: String,
}
Fields§
§id: LegacyStringId
§item_data: String
Trait Implementations§
source§impl BaseParser for ItemDataUpdate
impl BaseParser for ItemDataUpdate
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 Clone for ItemDataUpdate
impl Clone for ItemDataUpdate
source§fn clone(&self) -> ItemDataUpdate
fn clone(&self) -> ItemDataUpdate
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 ItemDataUpdate
impl Debug for ItemDataUpdate
source§impl Default for ItemDataUpdate
impl Default for ItemDataUpdate
source§fn default() -> ItemDataUpdate
fn default() -> ItemDataUpdate
Returns the “default value” for a type. Read more
source§impl PacketVariable for ItemDataUpdate
impl PacketVariable for ItemDataUpdate
source§impl PartialEq<ItemDataUpdate> for ItemDataUpdate
impl PartialEq<ItemDataUpdate> for ItemDataUpdate
source§fn eq(&self, other: &ItemDataUpdate) -> bool
fn eq(&self, other: &ItemDataUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ItemDataUpdate
Auto Trait Implementations§
impl RefUnwindSafe for ItemDataUpdate
impl Send for ItemDataUpdate
impl Sync for ItemDataUpdate
impl Unpin for ItemDataUpdate
impl UnwindSafe for ItemDataUpdate
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