sideko_rest_api 0.9.2

Rust API Client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// NewSidebarItemPositionEnum
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum NewSidebarItemPositionEnum {
    #[default]
    #[serde(rename = "bottom")]
    Bottom,
    #[serde(rename = "top")]
    Top,
}
impl std::fmt::Display for NewSidebarItemPositionEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            NewSidebarItemPositionEnum::Bottom => "bottom",
            NewSidebarItemPositionEnum::Top => "top",
        };
        write!(f, "{}", str_val)
    }
}