nyantrack_common/studio.rs
1use std::sync::Arc;
2
3use serde::{Deserialize, Serialize};
4
5use super::entry::Entry;
6
7#[derive(Debug, Serialize, Deserialize)]
8pub struct Studio {
9 /// The numeric ID of the studio. Must be unique within the set of studios.
10 id: u64,
11 /// The name of the studio
12 name: Arc<str>,
13 /// List of the entries that the studio has worked on.
14 works: Vec<Entry>,
15}