pub struct CommandBot {
pub bot_id: LegacyId,
pub skill_type: i32,
pub command_string: String,
}
Fields§
§bot_id: LegacyId
§skill_type: i32
§command_string: String
Trait Implementations§
Source§impl BaseParser for CommandBot
impl BaseParser for CommandBot
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 CommandBot
impl Clone for CommandBot
Source§fn clone(&self) -> CommandBot
fn clone(&self) -> CommandBot
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 CommandBot
impl Debug for CommandBot
Source§impl Default for CommandBot
impl Default for CommandBot
Source§fn default() -> CommandBot
fn default() -> CommandBot
Returns the “default value” for a type. Read more
Source§impl PacketVariable for CommandBot
impl PacketVariable for CommandBot
Source§impl PartialEq for CommandBot
impl PartialEq for CommandBot
impl StructuralPartialEq for CommandBot
Auto Trait Implementations§
impl Freeze for CommandBot
impl RefUnwindSafe for CommandBot
impl Send for CommandBot
impl Sync for CommandBot
impl Unpin for CommandBot
impl UnwindSafe for CommandBot
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