1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};
use std::path::PathBuf;

/// Represents a single screenshot.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Screenshot {
    /// Filename of the screenshot.
    pub name: String,
    /// Path of the screenshot.
    pub path: PathBuf,
}