pub enum PlaylistOrdering {
Alphabetical,
CreationDate,
ModifiedDate,
LastPlayDate,
UserDefined,
}
Expand description
Specifies the ordering of returned playlists.
Rationale
Some media players may allow users to order playlists as they wish. This ordering allows playlists to be retrieved in that order.
Variants§
Alphabetical
Alphabetical ordering by name, ascending.
CreationDate
Ordering by creation date, oldest first.
ModifiedDate
Ordering by last modified date, oldest first.
LastPlayDate
Ordering by date of last playback, oldest first.
UserDefined
A user-defined ordering.
Implementations§
Trait Implementations§
Source§impl Clone for PlaylistOrdering
impl Clone for PlaylistOrdering
Source§fn clone(&self) -> PlaylistOrdering
fn clone(&self) -> PlaylistOrdering
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 PlaylistOrdering
impl Debug for PlaylistOrdering
Source§impl<'de> Deserialize<'de> for PlaylistOrdering
impl<'de> Deserialize<'de> for PlaylistOrdering
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 Display for PlaylistOrdering
impl Display for PlaylistOrdering
Source§impl From<PlaylistOrdering> for Value<'_>
impl From<PlaylistOrdering> for Value<'_>
Source§fn from(status: PlaylistOrdering) -> Self
fn from(status: PlaylistOrdering) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlaylistOrdering
impl PartialEq for PlaylistOrdering
Source§impl Type for PlaylistOrdering
impl Type for PlaylistOrdering
impl Copy for PlaylistOrdering
impl Eq for PlaylistOrdering
impl StructuralPartialEq for PlaylistOrdering
Auto Trait Implementations§
impl Freeze for PlaylistOrdering
impl RefUnwindSafe for PlaylistOrdering
impl Send for PlaylistOrdering
impl Sync for PlaylistOrdering
impl Unpin for PlaylistOrdering
impl UnwindSafe for PlaylistOrdering
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.