/// 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)
}
}