ed_journals/modules/logs/content/log_event_content/
screenshot_event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct ScreenshotEvent {
    pub filename: String,
    pub width: u16,
    pub height: u16,
    pub system: Option<String>,
    pub body: Option<String>,
    pub latitude: Option<f32>,
    pub longitude: Option<f32>,
    pub altitude: Option<f32>,
    pub heading: Option<f32>,
}