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 LinkRequestRequest {
    pub link_name: ::std::string::String,
}

impl Default for LinkRequestRequest {
    fn default() -> Self {
        LinkRequestRequest {
            link_name: ::std::string::String::new(),
        }
    }
}

impl ros2_client::Message for LinkRequestRequest {}



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

}

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

        }
    }
}

impl ros2_client::Message for LinkRequestResponse {}


pub struct LinkRequest;
impl ros2_client::Service for LinkRequest {
    type Request = LinkRequestRequest;
    type Response = LinkRequestResponse;

    fn request_type_name(&self) -> &str { "LinkRequestRequest" }
    fn response_type_name(&self) -> &str { "LinkRequestResponse" }
}