From b44463d533ba9b789e3423d670e2ddcc32c1112c Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 6 Sep 2022 21:40:01 +0200 Subject: feat: add getting user & playlists --- src/creator.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/creator.rs (limited to 'src/creator.rs') 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, +} -- cgit v1.2.3-18-g5258