pub struct Album {
pub id: MediaId,
pub artist_id: MediaId,
pub artist_name: Option<String>,
pub title: String,
pub year: Option<u16>,
pub track_count: Option<u32>,
pub merge: MergeFacts,
pub artwork: Vec<Artwork>,
}Fields§
§id: MediaId§artist_id: MediaId§artist_name: Option<String>The artist’s name, for the same reason.
title: String§year: Option<u16>§track_count: Option<u32>How many tracks it has, on every disc. None where the catalog
does not say: Plex counts them on the album itself, not in
listings or search.
merge: MergeFactsWhat an app merging several servers’ libraries sorts by and
matches copies by (MergeFacts). Left out of the wire when it
holds nothing, and read as nothing from an older server.
artwork: Vec<Artwork>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Album
impl<'de> Deserialize<'de> for Album
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
impl Eq for Album
impl StructuralPartialEq for Album
Auto Trait Implementations§
impl Forget for Album
impl Freeze for Album
impl Move for Album
impl RefUnwindSafe for Album
impl Send for Album
impl Sync for Album
impl Unpin for Album
impl UnsafeUnpin for Album
impl UnwindSafe for Album
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