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