pub struct EventPacket {
pub sequence: u64,
pub payload: Vec<u8>,
}Fields§
§sequence: u64§payload: Vec<u8>Trait Implementations§
Source§impl Clone for EventPacket
impl Clone for EventPacket
Source§fn clone(&self) -> EventPacket
fn clone(&self) -> EventPacket
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 EventPacket
impl Debug for EventPacket
Source§impl PartialEq for EventPacket
impl PartialEq for EventPacket
impl Eq for EventPacket
impl StructuralPartialEq for EventPacket
Auto Trait Implementations§
impl Freeze for EventPacket
impl RefUnwindSafe for EventPacket
impl Send for EventPacket
impl Sync for EventPacket
impl Unpin for EventPacket
impl UnwindSafe for EventPacket
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