ros2_interfaces_humble/psdk_interfaces/msg/
file_attributes.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct FileAttributes {
5 pub photo_ratio: u32,
6 pub photo_rotation: u32,
7 pub video_duration: u32,
8 pub video_frame_rate: u32,
9 pub video_rotation: u32,
10 pub video_resolution: u32,
11}
12
13impl Default for FileAttributes {
14 fn default() -> Self {
15 FileAttributes {
16 photo_ratio: 0,
17 photo_rotation: 0,
18 video_duration: 0,
19 video_frame_rate: 0,
20 video_rotation: 0,
21 video_resolution: 0,
22 }
23 }
24}
25
26impl ros2_client::Message for FileAttributes {}