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