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 EmptyRequest {

}

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

        }
    }
}

impl ros2_client::Message for EmptyRequest {}



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

}

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

        }
    }
}

impl ros2_client::Message for EmptyResponse {}


pub struct Empty;
impl ros2_client::Service for Empty {
    type Request = EmptyRequest;
    type Response = EmptyResponse;

    fn request_type_name(&self) -> &str { "EmptyRequest" }
    fn response_type_name(&self) -> &str { "EmptyResponse" }
}