pub enum MusicItemType {
Track,
Album,
Artist,
Playlist,
User,
}Expand description
YouTube Music item type
Variants§
Trait Implementations§
Source§impl Clone for MusicItemType
impl Clone for MusicItemType
Source§fn clone(&self) -> MusicItemType
fn clone(&self) -> MusicItemType
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 MusicItemType
impl Debug for MusicItemType
Source§impl<'de> Deserialize<'de> for MusicItemType
impl<'de> Deserialize<'de> for MusicItemType
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 Hash for MusicItemType
impl Hash for MusicItemType
Source§impl Ord for MusicItemType
impl Ord for MusicItemType
Source§fn cmp(&self, other: &MusicItemType) -> Ordering
fn cmp(&self, other: &MusicItemType) -> 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 MusicItemType
impl PartialEq for MusicItemType
Source§impl PartialOrd for MusicItemType
impl PartialOrd for MusicItemType
Source§impl Serialize for MusicItemType
impl Serialize for MusicItemType
impl Copy for MusicItemType
impl Eq for MusicItemType
impl StructuralPartialEq for MusicItemType
Auto Trait Implementations§
impl Freeze for MusicItemType
impl RefUnwindSafe for MusicItemType
impl Send for MusicItemType
impl Sync for MusicItemType
impl Unpin for MusicItemType
impl UnwindSafe for MusicItemType
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