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