1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! Lists

pub use serde_types::list::*;

string_enums! {
    /// Represents `mode` field of `List`.
    #[derive(Clone, Debug)]
    pub enum Mode {
        :Public("public"),
        :Private("private");
        :Custom(_),
    }
}

/// ID of a list.
pub type ListId = u64;