pub enum Scanner {
Show {
parent: Option<CollectionId>,
id: ShowId,
poster_file_name: Option<String>,
},
Season {
show: ShowId,
number: SeasonNumber,
poster_file_name: Option<String>,
},
Episode {
show: ShowId,
season: SeasonNumber,
number: EpisodeNumbers,
media_file_name: String,
poster_file_name: Option<String>,
},
}Expand description
The scanner for shows
Variants§
Show
A scanned show
Fields
§
parent: Option<CollectionId>The ID of the parent collection (if any)
Season
A scanned episode
Fields
§
number: SeasonNumberThe season this episode belongs to
Episode
A scanned episode
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scanner
impl RefUnwindSafe for Scanner
impl Send for Scanner
impl Sync for Scanner
impl Unpin for Scanner
impl UnwindSafe for Scanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more