use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct PlayNextRequest {
}
impl Default for PlayNextRequest {
fn default() -> Self {
PlayNextRequest {
}
}
}
impl ros2_client::Message for PlayNextRequest {}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct PlayNextResponse {
pub success: bool,
}
impl Default for PlayNextResponse {
fn default() -> Self {
PlayNextResponse {
success: false,
}
}
}
impl ros2_client::Message for PlayNextResponse {}
pub struct PlayNext;
impl ros2_client::Service for PlayNext {
type Request = PlayNextRequest;
type Response = PlayNextResponse;
fn request_type_name(&self) -> &str { "PlayNextRequest" }
fn response_type_name(&self) -> &str { "PlayNextResponse" }
}