pub enum CollectionType {
Show 13 variants
Unknown,
Movies,
Tvshows,
Music,
Musicvideos,
Trailers,
Homevideos,
Boxsets,
Books,
Photos,
Livetv,
Playlists,
Folders,
}
Expand description
Collection type.
JSON schema
{
"description": "Collection type.",
"type": "string",
"enum": [
"unknown",
"movies",
"tvshows",
"music",
"musicvideos",
"trailers",
"homevideos",
"boxsets",
"books",
"photos",
"livetv",
"playlists",
"folders"
]
}
Variants§
Unknown
Movies
Tvshows
Music
Musicvideos
Trailers
Homevideos
Boxsets
Books
Photos
Livetv
Playlists
Folders
Trait Implementations§
Source§impl Clone for CollectionType
impl Clone for CollectionType
Source§fn clone(&self) -> CollectionType
fn clone(&self) -> CollectionType
Returns a duplicate 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 CollectionType
impl Debug for CollectionType
Source§impl<'de> Deserialize<'de> for CollectionType
impl<'de> Deserialize<'de> for CollectionType
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 From<&CollectionType> for CollectionType
impl From<&CollectionType> for CollectionType
Source§fn from(value: &CollectionType) -> Self
fn from(value: &CollectionType) -> Self
Converts to this type from the input type.
Source§impl FromStr for CollectionType
impl FromStr for CollectionType
Source§impl Hash for CollectionType
impl Hash for CollectionType
Source§impl Ord for CollectionType
impl Ord for CollectionType
Source§fn cmp(&self, other: &CollectionType) -> Ordering
fn cmp(&self, other: &CollectionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CollectionType
impl PartialEq for CollectionType
Source§impl PartialOrd for CollectionType
impl PartialOrd for CollectionType
Source§impl Serialize for CollectionType
impl Serialize for CollectionType
Source§impl ToString for CollectionType
impl ToString for CollectionType
Source§impl TryFrom<&String> for CollectionType
impl TryFrom<&String> for CollectionType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CollectionType
impl TryFrom<&str> for CollectionType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CollectionType
impl TryFrom<String> for CollectionType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for CollectionType
impl Eq for CollectionType
impl StructuralPartialEq for CollectionType
Auto Trait Implementations§
impl Freeze for CollectionType
impl RefUnwindSafe for CollectionType
impl Send for CollectionType
impl Sync for CollectionType
impl Unpin for CollectionType
impl UnwindSafe for CollectionType
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