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 ServiceResponseDetailsRequest {
    #[serde(rename = "type")]    pub type_: ::std::string::String,
}

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

impl ros2_client::Message for ServiceResponseDetailsRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ServiceResponseDetailsResponse {
    pub typedefs: Vec<crate::rosapi_msgs::msg::TypeDef>,
}

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

impl ros2_client::Message for ServiceResponseDetailsResponse {}


pub struct ServiceResponseDetails;
impl ros2_client::Service for ServiceResponseDetails {
    type Request = ServiceResponseDetailsRequest;
    type Response = ServiceResponseDetailsResponse;

    fn request_type_name(&self) -> &str { "ServiceResponseDetailsRequest" }
    fn response_type_name(&self) -> &str { "ServiceResponseDetailsResponse" }
}