Enum musicbrainz_rs::entity::series::SeriesType
source · #[non_exhaustive]
pub enum SeriesType {
Show 13 variants
ReleaseGroupSeries,
ReleaseSeries,
RecordingSeries,
WorkSeries,
Catalogue,
ArtistSeries,
ArtistAward,
EventSeries,
Tour,
Festival,
Run,
Residency,
UnrecognizedSeriesType,
}
Expand description
The type of a MusicBrainz series entity.
Note that this enum is non_exhaustive
; The list of series types is subject to change and these
changes are only reflected in the DB, not in actual MB code.
Variants are derived from the series_type
table in the MusicBrainz database.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ReleaseGroupSeries
A series of release groups.
ReleaseSeries
A series of releases.
RecordingSeries
A series of recordings.
WorkSeries
A series of works.
Catalogue
A series of works which form a catalogue of classical compositions.
ArtistSeries
A series of artists.
ArtistAward
A series of artists honoured by the same award.
EventSeries
A series of events.
Tour
A series of related concerts by an artist in different locations.
Festival
A recurring festival, usually happening annually in the same location.
Run
A series of performances of the same show at the same venue.
Residency
A series of related concerts by an artist in the same location.
UnrecognizedSeriesType
Any series_type that does not yet have a corresponding variant in this enum.
If you ever see a SeriesType::UnrecognizedSeriesType
in the wild, let us know and file an issue/pull request!
Trait Implementations§
source§impl Clone for SeriesType
impl Clone for SeriesType
source§fn clone(&self) -> SeriesType
fn clone(&self) -> SeriesType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SeriesType
impl Debug for SeriesType
source§impl<'de> Deserialize<'de> for SeriesType
impl<'de> Deserialize<'de> for SeriesType
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>,
source§impl PartialEq<SeriesType> for SeriesType
impl PartialEq<SeriesType> for SeriesType
source§fn eq(&self, other: &SeriesType) -> bool
fn eq(&self, other: &SeriesType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SeriesType
impl Serialize for SeriesType
impl Eq for SeriesType
impl StructuralEq for SeriesType
impl StructuralPartialEq for SeriesType
Auto Trait Implementations§
impl RefUnwindSafe for SeriesType
impl Send for SeriesType
impl Sync for SeriesType
impl Unpin for SeriesType
impl UnwindSafe for SeriesType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.