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

}

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

        }
    }
}

impl ros2_client::Message for IntrospectServicesRequest {}



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

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

impl ros2_client::Message for IntrospectServicesResponse {}


pub struct IntrospectServices;
impl ros2_client::Service for IntrospectServices {
    type Request = IntrospectServicesRequest;
    type Response = IntrospectServicesResponse;

    fn request_type_name(&self) -> &str { "IntrospectServicesRequest" }
    fn response_type_name(&self) -> &str { "IntrospectServicesResponse" }
}