ros2-interfaces-iron 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Iron. Built around the `ros2-client` crate.
Documentation
use serde::{Deserialize, Serialize};


#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct AddLinkRequest {
    pub link: crate::rtabmap_msgs::msg::Link,
}

impl Default for AddLinkRequest {
    fn default() -> Self {
        AddLinkRequest {
            link: crate::rtabmap_msgs::msg::Link::default(),
        }
    }
}

impl ros2_client::Message for AddLinkRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct AddLinkResponse {

}

impl Default for AddLinkResponse {
    fn default() -> Self {
        AddLinkResponse {

        }
    }
}

impl ros2_client::Message for AddLinkResponse {}


pub struct AddLink;
impl ros2_client::Service for AddLink {
    type Request = AddLinkRequest;
    type Response = AddLinkResponse;

    fn request_type_name(&self) -> &str { "AddLinkRequest" }
    fn response_type_name(&self) -> &str { "AddLinkResponse" }
}