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 CloseSnapshotStreamRequest {
    pub topic_name: ::std::string::String,
}

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

impl ros2_client::Message for CloseSnapshotStreamRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CloseSnapshotStreamResponse {
    pub result: bool,
}

impl Default for CloseSnapshotStreamResponse {
    fn default() -> Self {
        CloseSnapshotStreamResponse {
            result: false,
        }
    }
}

impl ros2_client::Message for CloseSnapshotStreamResponse {}


pub struct CloseSnapshotStream;
impl ros2_client::Service for CloseSnapshotStream {
    type Request = CloseSnapshotStreamRequest;
    type Response = CloseSnapshotStreamResponse;

    fn request_type_name(&self) -> &str { "CloseSnapshotStreamRequest" }
    fn response_type_name(&self) -> &str { "CloseSnapshotStreamResponse" }
}