opensubsonic 0.3.0

Complete async Rust client for the OpenSubsonic/Subsonic REST API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Types for the Media Library Scanning API section.

use serde::{Deserialize, Serialize};

/// Library scan status.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ScanStatus {
    /// Whether a scan is currently in progress.
    pub scanning: bool,
    /// Number of items scanned so far.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub count: Option<i64>,
}