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

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

impl ros2_client::Message for DeleteLightRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct DeleteLightResponse {
    pub success: bool,
    pub status_message: ::std::string::String,
}

impl Default for DeleteLightResponse {
    fn default() -> Self {
        DeleteLightResponse {
            success: false,
            status_message: ::std::string::String::new(),
        }
    }
}

impl ros2_client::Message for DeleteLightResponse {}


pub struct DeleteLight;
impl ros2_client::Service for DeleteLight {
    type Request = DeleteLightRequest;
    type Response = DeleteLightResponse;

    fn request_type_name(&self) -> &str { "DeleteLightRequest" }
    fn response_type_name(&self) -> &str { "DeleteLightResponse" }
}