Enum musicbrainz_rs::entity::event::EventType
source · #[non_exhaustive]
pub enum EventType {
Concert,
Festival,
StagePerformance,
LaunchEvent,
ConventionExpo,
MasterclassClinic,
UnrecognizedEventType,
}
Expand description
The type of a MusicBrainz event entity.
Note that this enum is non_exhaustive
; The list of event types is subject to change and these
changes are only reflected in the DB, not in actual MB code.
Variants are derived from the event_type
table in the MusicBrainz database.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Concert
An individual concert by a single artist or collaboration, often with supporting artists who perform before the main act.
Festival
An event where a number of different acts perform across the course of the day. Larger festivals may be spread across multiple days.
StagePerformance
A performance of one or more plays, musicals, operas, ballets or other similar works for the stage in their staged form (as opposed to a concert performance without staging).
LaunchEvent
A party, reception or other event held specifically for the launch of a release.
ConventionExpo
A convention, expo or trade fair is an event which is not typically orientated around music performances, but can include them as side activities.
MasterclassClinic
A masterclass or clinic is an event where an artist meets with a small to medium-sized audience and instructs them individually and/or takes questions intended to improve the audience members’ playing skills.
UnrecognizedEventType
Any event_type that does not yet have a corresponding variant in this enum.
If you ever see a EventType::UnrecognizedEventType
in the wild, let us know and file an issue/pull request!
Trait Implementations§
source§impl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
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<EventType> for EventType
impl PartialEq<EventType> for EventType
impl Eq for EventType
impl StructuralEq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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.