diff options
| author | 2024-11-13 20:00:15 +0000 | |
|---|---|---|
| committer | 2024-11-13 20:00:15 +0000 | |
| commit | b7a2265e9b29d8fa09f84f5213ef7f8ed3045ca6 (patch) | |
| tree | 280a31f5887aafdaa200a2b5f4c05ff106d9e365 /src/artwork.rs | |
| download | critch-b7a2265e9b29d8fa09f84f5213ef7f8ed3045ca6.tar.gz critch-b7a2265e9b29d8fa09f84f5213ef7f8ed3045ca6.tar.bz2 critch-b7a2265e9b29d8fa09f84f5213ef7f8ed3045ca6.zip | |
initial commit
Diffstat (limited to 'src/artwork.rs')
| -rw-r--r-- | src/artwork.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/artwork.rs b/src/artwork.rs new file mode 100644 index 0000000..78b39af --- /dev/null +++ b/src/artwork.rs @@ -0,0 +1,14 @@ +pub struct Artwork { + /// artwork id + id: Option<usize>, + /// name of the artwork + title: Option<String>, + /// description of the artwork + description: Option<String>, + /// source url of the artwork + url_source: Option<String>, + /// id of the artist + artist_id: usize, + /// ids of files + files: Vec<usize>, +} |
