Enum plex_api::media_container::server::library::ContentDirectory
source · pub enum ContentDirectory {
Playlists(ServerPlaylists),
Media(Box<ServerLibrary>),
Home(ServerHome),
LiveTv(LiveTv),
Online(OnlineLibrary),
Unknown(Value),
}Variants§
Playlists(ServerPlaylists)
Media(Box<ServerLibrary>)
Home(ServerHome)
LiveTv(LiveTv)
Online(OnlineLibrary)
Unknown(Value)
Trait Implementations§
source§impl Clone for ContentDirectory
impl Clone for ContentDirectory
source§fn clone(&self) -> ContentDirectory
fn clone(&self) -> ContentDirectory
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 ContentDirectory
impl Debug for ContentDirectory
source§impl<'de> Deserialize<'de> for ContentDirectory
impl<'de> Deserialize<'de> for ContentDirectory
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