Struct ros2_client::message_info::MessageInfo
source · pub struct MessageInfo { /* private fields */ }
Expand description
Message metadata
Implementations§
source§impl MessageInfo
impl MessageInfo
pub fn received_timestamp(&self) -> Timestamp
pub fn source_timestamp(&self) -> Option<Timestamp>
pub fn writer_guid(&self) -> GUID
pub fn sample_identity(&self) -> SampleIdentity
Trait Implementations§
source§impl Clone for MessageInfo
impl Clone for MessageInfo
source§fn clone(&self) -> MessageInfo
fn clone(&self) -> MessageInfo
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 MessageInfo
impl Debug for MessageInfo
source§impl<M> From<&DeserializedCacheChange<M>> for MessageInfo
impl<M> From<&DeserializedCacheChange<M>> for MessageInfo
source§fn from(dcc: &DeserializedCacheChange<M>) -> MessageInfo
fn from(dcc: &DeserializedCacheChange<M>) -> MessageInfo
Converts to this type from the input type.
source§impl From<&SampleInfo> for MessageInfo
impl From<&SampleInfo> for MessageInfo
source§fn from(sample_info: &SampleInfo) -> MessageInfo
fn from(sample_info: &SampleInfo) -> MessageInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MessageInfo
impl Send for MessageInfo
impl Sync for MessageInfo
impl Unpin for MessageInfo
impl UnwindSafe for MessageInfo
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