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 HotStartRequest {
    pub reset_type: u8,
}

impl Default for HotStartRequest {
    fn default() -> Self {
        HotStartRequest {
            reset_type: 0,
        }
    }
}

impl ros2_client::Message for HotStartRequest {}



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

}

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

        }
    }
}

impl ros2_client::Message for HotStartResponse {}


pub struct HotStart;
impl ros2_client::Service for HotStart {
    type Request = HotStartRequest;
    type Response = HotStartResponse;

    fn request_type_name(&self) -> &str { "HotStartRequest" }
    fn response_type_name(&self) -> &str { "HotStartResponse" }
}