refactor: Created a derive macro for defining the display style of Enum models and removed the use of the EnumDisplayStyle trait

This commit is contained in:
2025-03-06 15:29:30 -07:00
parent 7381eaef57
commit f97d46cec3
20 changed files with 305 additions and 271 deletions
-4
View File
@@ -42,10 +42,6 @@ pub enum Serdeable {
Sonarr(SonarrSerdeable),
}
pub trait EnumDisplayStyle<'a> {
fn to_display_str(self) -> &'a str;
}
pub trait Scrollable {
fn scroll_down(&mut self);
fn scroll_up(&mut self);