summaryrefslogtreecommitdiff
path: root/dichroism/src/models/photo_set.rs
blob: f2c7677190e50ba0bf08da981b97b571035ff928 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
use super::Photo;

#[derive(Debug, Clone)]
pub struct PhotoSet {
    pub id: Option<i32>,
    pub original: Photo,  // original, just for safe-keeping
    pub fullsize: Photo,  // full-size, "zoomed" view
    pub base: Photo,      // basic viewing
    pub thumbnail: Photo, // tiny, square thumbnail
}