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