pub struct ReceivedSample {
pub topic: String,
pub type_name: String,
pub payload: Vec<u8>,
pub writer_guid: [u8; 16],
pub sequence: u64,
pub timestamp_ns: u64,
}Expand description
Received sample from DDS
Fields§
§topic: StringTopic name
type_name: StringType name
payload: Vec<u8>Serialized payload (CDR)
writer_guid: [u8; 16]Source writer GUID
sequence: u64Sequence number
timestamp_ns: u64Reception timestamp (Unix nanoseconds)
Trait Implementations§
Source§impl Clone for ReceivedSample
impl Clone for ReceivedSample
Source§fn clone(&self) -> ReceivedSample
fn clone(&self) -> ReceivedSample
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 ReceivedSample
impl Debug for ReceivedSample
Source§impl From<ReceivedSample> for Sample
impl From<ReceivedSample> for Sample
Source§fn from(rs: ReceivedSample) -> Self
fn from(rs: ReceivedSample) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReceivedSample
impl RefUnwindSafe for ReceivedSample
impl Send for ReceivedSample
impl Sync for ReceivedSample
impl Unpin for ReceivedSample
impl UnsafeUnpin for ReceivedSample
impl UnwindSafe for ReceivedSample
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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