dji_log_parser/frame/custom.rs
1use chrono::{DateTime, Utc};
2use serde::Serialize;
3#[cfg(target_arch = "wasm32")]
4use tsify_next::Tsify;
5
6#[derive(Serialize, Debug, Default, Clone)]
7#[serde(rename_all = "camelCase")]
8#[cfg_attr(target_arch = "wasm32", derive(Tsify))]
9pub struct FrameCustom {
10 /// Date and time of the frame
11 #[cfg_attr(target_arch = "wasm32", tsify(type = "string"))]
12 pub date_time: DateTime<Utc>,
13}