ros2-interfaces-rolling 0.0.1

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 IntrospectServicesReq {

}

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

        }
    }
}

impl ros2_client::Message for IntrospectServicesReq {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct IntrospectServicesRes {
    pub service_details: Vec<crate::py_trees_ros_interfaces::msg::ServiceDetails>,
}

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

impl ros2_client::Message for IntrospectServicesRes {}


pub struct IntrospectServices;
impl ros2_client::Service for IntrospectServices {
    type Request = IntrospectServicesReq;
    type Response = IntrospectServicesRes;

    fn request_type_name(&self) -> &str { "IntrospectServicesReq" }
    fn response_type_name(&self) -> &str { "IntrospectServicesRes" }
}