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 ComplexSrvIdlRequest {
    pub req: crate::rosbag2_test_msgdefs::msg::BasicIdl,
}

impl Default for ComplexSrvIdlRequest {
    fn default() -> Self {
        ComplexSrvIdlRequest {
            req: crate::rosbag2_test_msgdefs::msg::BasicIdl::default(),
        }
    }
}

impl ros2_client::Message for ComplexSrvIdlRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ComplexSrvIdlResponse {
    pub resp: crate::rosbag2_test_msgdefs::msg::BasicIdl,
}

impl Default for ComplexSrvIdlResponse {
    fn default() -> Self {
        ComplexSrvIdlResponse {
            resp: crate::rosbag2_test_msgdefs::msg::BasicIdl::default(),
        }
    }
}

impl ros2_client::Message for ComplexSrvIdlResponse {}


pub struct ComplexSrvIdl;
impl ros2_client::Service for ComplexSrvIdl {
    type Request = ComplexSrvIdlRequest;
    type Response = ComplexSrvIdlResponse;

    fn request_type_name(&self) -> &str { "ComplexSrvIdlRequest" }
    fn response_type_name(&self) -> &str { "ComplexSrvIdlResponse" }
}