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