ros2-interfaces-rolling 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Rolling. Built around the `ros2-client` crate.
Documentation
use serde::{Deserialize, Serialize};


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

}

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

        }
    }
}

impl ros2_client::Message for DemuxListRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct DemuxListResponse {
    pub topics: Vec<::std::string::String>,
}

impl Default for DemuxListResponse {
    fn default() -> Self {
        DemuxListResponse {
            topics: Vec::new(),
        }
    }
}

impl ros2_client::Message for DemuxListResponse {}


pub struct DemuxList;
impl ros2_client::Service for DemuxList {
    type Request = DemuxListRequest;
    type Response = DemuxListResponse;

    fn request_type_name(&self) -> &str { "DemuxListRequest" }
    fn response_type_name(&self) -> &str { "DemuxListResponse" }
}