pub struct LibraryStats {
pub medias: LibraryMediaStats,
pub storage: Option<LibraryStorage>,
pub entities: LibraryEntityCounts,
pub duplicates: LibraryDuplicates,
pub processing: LibraryProcessing,
pub last_backup: Option<LibraryLastBackup>,
pub server: LibraryServerFootprint,
}Expand description
What a library holds and what is left to process (GET /libraries/{id}/stats).
Fields§
§medias: LibraryMediaStats§storage: Option<LibraryStorage>Left out for virtual libraries and when the provider cannot tell.
entities: LibraryEntityCounts§duplicates: LibraryDuplicates§processing: LibraryProcessing§last_backup: Option<LibraryLastBackup>Left out until a backup of the library has completed.
server: LibraryServerFootprintTrait Implementations§
Source§impl Clone for LibraryStats
impl Clone for LibraryStats
Source§impl Debug for LibraryStats
impl Debug for LibraryStats
Source§impl<'de> Deserialize<'de> for LibraryStats
impl<'de> Deserialize<'de> for LibraryStats
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
Source§impl PartialEq for LibraryStats
impl PartialEq for LibraryStats
Source§impl Serialize for LibraryStats
impl Serialize for LibraryStats
impl StructuralPartialEq for LibraryStats
Auto Trait Implementations§
impl Forget for LibraryStats
impl Freeze for LibraryStatswhere
*const LeafNode<String, LibraryMediaTypeStats> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, LibraryMediaTypeStats)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for LibraryStats
impl RefUnwindSafe for LibraryStats
impl Send for LibraryStatswhere
NodeRef<Owned, String, LibraryMediaTypeStats, LeafOrInternal>: Send,
BoxRaw<(String, LibraryMediaTypeStats)>: Send,
RawVecInner: Send,
impl Sync for LibraryStatswhere
NodeRef<Owned, String, LibraryMediaTypeStats, LeafOrInternal>: Sync,
BoxRaw<(String, LibraryMediaTypeStats)>: Sync,
RawVecInner: Sync,
impl Unpin for LibraryStats
impl UnsafeUnpin for LibraryStatswhere
*const LeafNode<String, LibraryMediaTypeStats> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, LibraryMediaTypeStats)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for LibraryStats
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