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