pub trait LibraryLike {
Show 16 methods
// Required methods
fn needs_scan(&self) -> bool;
fn get_id(&self) -> LibraryId;
fn get_name(&self) -> &str;
fn get_type(&self) -> LibraryType;
fn get_paths(&self) -> Vec<PathBuf>;
fn get_scan_interval(&self) -> u32;
fn get_last_scan(&self) -> Option<DateTime<Utc>>;
fn is_enabled(&self) -> bool;
fn is_auto_scan(&self) -> bool;
fn is_watch_for_changes(&self) -> bool;
fn is_analyze_on_scan(&self) -> bool;
fn get_max_retry_attempts(&self) -> u32;
fn get_movie_ref_batch_size(&self) -> MovieReferenceBatchSize;
fn get_created_at(&self) -> DateTime<Utc>;
fn get_updated_at(&self) -> DateTime<Utc>;
fn get_media_references_clone(&self) -> Option<Vec<Media>>;
}Expand description
Read-only operations for library-like types