pub struct LibraryHealth {
pub artists: usize,
pub albums: usize,
pub songs: usize,
pub unanalyzed_songs: Option<usize>,
pub playlists: usize,
pub collections: usize,
pub orphaned_artists: usize,
pub orphaned_albums: usize,
pub orphaned_playlists: usize,
pub orphaned_collections: usize,
}Expand description
Health information about the library
Fields§
§artists: usizeThe number of artists in the library
albums: usizeThe number of albums in the library
songs: usizeThe number of songs in the library
unanalyzed_songs: Option<usize>The number of unanalyzed songs in the library Optional because the analysis feature may not be enabled for the daemon
playlists: usizeThe number of playlists in the library
collections: usizeThe number of collections in the library
orphaned_artists: usizeThe number of orphaned songs in the library This is the number of artists that have no songs, and no albums
orphaned_albums: usizeThe number of orphaned albums in the library This is the number of albums that have no songs
orphaned_playlists: usizeThe number of orphaned playlists in the library This is the number of playlists that have no songs
orphaned_collections: usizeThe number of orphaned collections in the library This is the number of collections that have no songs
Trait Implementations§
source§impl Clone for LibraryHealth
impl Clone for LibraryHealth
source§fn clone(&self) -> LibraryHealth
fn clone(&self) -> LibraryHealth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LibraryHealth
impl Debug for LibraryHealth
source§impl<'de> Deserialize<'de> for LibraryHealth
impl<'de> Deserialize<'de> for LibraryHealth
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LibraryHealth
impl RefUnwindSafe for LibraryHealth
impl Send for LibraryHealth
impl Sync for LibraryHealth
impl Unpin for LibraryHealth
impl UnwindSafe for LibraryHealth
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)