Struct ros2_client::service::request_id::RmwRequestId
source · pub struct RmwRequestId {
pub writer_guid: GUID,
pub sequence_number: SequenceNumber,
}
Expand description
Original This structure seems to be identical in structure and function to SampleIdentity defined by the RPC over DDS Spec.
Fields§
§writer_guid: GUID
§sequence_number: SequenceNumber
Trait Implementations§
source§impl Clone for RmwRequestId
impl Clone for RmwRequestId
source§fn clone(&self) -> RmwRequestId
fn clone(&self) -> RmwRequestId
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 RmwRequestId
impl Debug for RmwRequestId
source§impl Default for RmwRequestId
impl Default for RmwRequestId
source§fn default() -> RmwRequestId
fn default() -> RmwRequestId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RmwRequestId
impl<'de> Deserialize<'de> for RmwRequestId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RmwRequestId> for SampleIdentity
impl From<RmwRequestId> for SampleIdentity
source§fn from(_: RmwRequestId) -> SampleIdentity
fn from(_: RmwRequestId) -> SampleIdentity
Converts to this type from the input type.
source§impl From<SampleIdentity> for RmwRequestId
impl From<SampleIdentity> for RmwRequestId
source§fn from(_: SampleIdentity) -> RmwRequestId
fn from(_: SampleIdentity) -> RmwRequestId
Converts to this type from the input type.
source§impl Ord for RmwRequestId
impl Ord for RmwRequestId
source§fn cmp(&self, other: &RmwRequestId) -> Ordering
fn cmp(&self, other: &RmwRequestId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RmwRequestId
impl PartialEq for RmwRequestId
source§fn eq(&self, other: &RmwRequestId) -> bool
fn eq(&self, other: &RmwRequestId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RmwRequestId
impl PartialOrd for RmwRequestId
source§fn partial_cmp(&self, other: &RmwRequestId) -> Option<Ordering>
fn partial_cmp(&self, other: &RmwRequestId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RmwRequestId
impl Serialize for RmwRequestId
impl Copy for RmwRequestId
impl Eq for RmwRequestId
impl StructuralEq for RmwRequestId
impl StructuralPartialEq for RmwRequestId
Auto Trait Implementations§
impl RefUnwindSafe for RmwRequestId
impl Send for RmwRequestId
impl Sync for RmwRequestId
impl Unpin for RmwRequestId
impl UnwindSafe for RmwRequestId
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