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 duplicate 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 for ItemStateUpdate
impl PartialEq for ItemStateUpdate
impl StructuralPartialEq for ItemStateUpdate
Auto Trait Implementations§
impl Freeze for ItemStateUpdate
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