pub enum ProcessingType {
Track,
Artist,
Album,
Search,
Manual,
Batch,
}Expand description
Types of processing that can be performed by the scrubber
Variants§
Track
Processing recent tracks from user’s listening history
Artist
Processing all tracks by a specific artist
Album
Processing all tracks from a specific album
Search
Processing tracks from search query results
Manual
Manual processing triggered by user
Batch
Batch processing of multiple items
Implementations§
Source§impl ProcessingType
impl ProcessingType
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Get a human-readable display name for the processing type
Trait Implementations§
Source§impl Clone for ProcessingType
impl Clone for ProcessingType
Source§fn clone(&self) -> ProcessingType
fn clone(&self) -> ProcessingType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessingType
Source§impl Debug for ProcessingType
impl Debug for ProcessingType
Source§impl<'de> Deserialize<'de> for ProcessingType
impl<'de> Deserialize<'de> for ProcessingType
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 PartialEq for ProcessingType
impl PartialEq for ProcessingType
Source§fn eq(&self, other: &ProcessingType) -> bool
fn eq(&self, other: &ProcessingType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessingType
impl Serialize for ProcessingType
impl StructuralPartialEq for ProcessingType
Auto Trait Implementations§
impl Freeze for ProcessingType
impl RefUnwindSafe for ProcessingType
impl Send for ProcessingType
impl Sync for ProcessingType
impl Unpin for ProcessingType
impl UnsafeUnpin for ProcessingType
impl UnwindSafe for ProcessingType
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