summaryrefslogtreecommitdiff
path: root/src/creator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/creator.rs')
-rw-r--r--src/creator.rs13
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,
+}