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

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

impl ros2_client::Message for DeleteRouteRequest {}



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

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

impl ros2_client::Message for DeleteRouteResponse {}


pub struct DeleteRoute;
impl ros2_client::Service for DeleteRoute {
    type Request = DeleteRouteRequest;
    type Response = DeleteRouteResponse;

    fn request_type_name(&self) -> &str { "DeleteRouteRequest" }
    fn response_type_name(&self) -> &str { "DeleteRouteResponse" }
}