ros2_interfaces_iron/rosapi_msgs/msg/
type_def.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct TypeDef {
5 #[serde(rename = "type")] pub type_: ::std::string::String,
6 pub fieldnames: Vec<::std::string::String>,
7 pub fieldtypes: Vec<::std::string::String>,
8 pub fieldarraylen: Vec<i32>,
9 pub examples: Vec<::std::string::String>,
10 pub constnames: Vec<::std::string::String>,
11 pub constvalues: Vec<::std::string::String>,
12}
13
14impl Default for TypeDef {
15 fn default() -> Self {
16 TypeDef {
17 type_: ::std::string::String::new(),
18 fieldnames: Vec::new(),
19 fieldtypes: Vec::new(),
20 fieldarraylen: Vec::new(),
21 examples: Vec::new(),
22 constnames: Vec::new(),
23 constvalues: Vec::new(),
24 }
25 }
26}
27
28impl ros2_client::Message for TypeDef {}