fix(network): Fixed an issue with dynamic typing in responses from Sonarr for history items

This commit is contained in:
2024-11-20 19:22:13 -07:00
parent df1eea22ab
commit f5631376af
10 changed files with 49 additions and 40 deletions
+4
View File
@@ -41,6 +41,10 @@ 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);