pub struct MessageTypeName {
pub message_type: String,
pub package: String,
pub type_name: String,
}Expand description
Information needed to construct a ROS2 message type name
Fields§
§message_type: StringThe message type category (typically “msg”, “srv”, or “action”)
package: StringThe ROS2 package name (namespace) where the type is defined
type_name: StringThe ROS2 type name (without package prefix)
Implementations§
Trait Implementations§
Source§impl Clone for MessageTypeName
impl Clone for MessageTypeName
Source§fn clone(&self) -> MessageTypeName
fn clone(&self) -> MessageTypeName
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 MessageTypeName
impl Debug for MessageTypeName
Source§impl PartialEq for MessageTypeName
impl PartialEq for MessageTypeName
impl Eq for MessageTypeName
impl StructuralPartialEq for MessageTypeName
Auto Trait Implementations§
impl Freeze for MessageTypeName
impl RefUnwindSafe for MessageTypeName
impl Send for MessageTypeName
impl Sync for MessageTypeName
impl Unpin for MessageTypeName
impl UnsafeUnpin for MessageTypeName
impl UnwindSafe for MessageTypeName
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