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