diff options
author | HampusM <hampus@hampusmat.com> | 2022-09-06 21:40:01 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-09-06 21:40:01 +0200 |
commit | b44463d533ba9b789e3423d670e2ddcc32c1112c (patch) | |
tree | 68f377f86ffbc99efcd88bc4fa1549784af6cf5d /src/creator.rs | |
parent | d7929e7e9fee879a28871c2195620869db291441 (diff) |
feat: add getting user & playlists
Diffstat (limited to 'src/creator.rs')
-rw-r--r-- | src/creator.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/creator.rs b/src/creator.rs new file mode 100644 index 0000000..81e3797 --- /dev/null +++ b/src/creator.rs @@ -0,0 +1,13 @@ +//! Creator. +use serde::Deserialize; + +/// A user that created another object. +#[derive(Debug, Deserialize)] +pub struct Creator +{ + /// User ID. + pub id: u64, + + /// User name. + pub name: String, +} |