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

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

impl ros2_client::Message for MuxDeleteRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct MuxDeleteResponse {
    pub success: bool,
}

impl Default for MuxDeleteResponse {
    fn default() -> Self {
        MuxDeleteResponse {
            success: false,
        }
    }
}

impl ros2_client::Message for MuxDeleteResponse {}


pub struct MuxDelete;
impl ros2_client::Service for MuxDelete {
    type Request = MuxDeleteRequest;
    type Response = MuxDeleteResponse;

    fn request_type_name(&self) -> &str { "MuxDeleteRequest" }
    fn response_type_name(&self) -> &str { "MuxDeleteResponse" }
}