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