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