summaryrefslogtreecommitdiff
path: root/src/creator.rs
blob: 81e37976a9ee98e5b7befe6fb88ff64d8362c158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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,
}