pub struct OrbitEvent {
pub id: NetId64,
pub topic: String,
pub payload: Vec<u8>,
pub timestamp_ms: u64,
}Expand description
One decoded event from the shared event ring.
Fields§
§id: NetId64§topic: String§payload: Vec<u8>§timestamp_ms: u64Trait Implementations§
Source§impl Clone for OrbitEvent
impl Clone for OrbitEvent
Source§fn clone(&self) -> OrbitEvent
fn clone(&self) -> OrbitEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OrbitEvent
impl Debug for OrbitEvent
Source§impl PartialEq for OrbitEvent
impl PartialEq for OrbitEvent
Source§fn eq(&self, other: &OrbitEvent) -> bool
fn eq(&self, other: &OrbitEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OrbitEvent
impl StructuralPartialEq for OrbitEvent
Auto Trait Implementations§
impl Freeze for OrbitEvent
impl RefUnwindSafe for OrbitEvent
impl Send for OrbitEvent
impl Sync for OrbitEvent
impl Unpin for OrbitEvent
impl UnsafeUnpin for OrbitEvent
impl UnwindSafe for OrbitEvent
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