#[non_exhaustive]pub enum BeatmapsetEvent {
Show 17 variants
Disqualify {
event_id: u64,
comment: BeatmapsetCommentId,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
GenreEdit {
event_id: u64,
comment: BeatmapsetCommentEdit<Genre>,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
},
IssueReopen {
event_id: u64,
comment: BeatmapsetCommentId,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
IssueResolve {
event_id: u64,
comment: BeatmapsetCommentId,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
KudosuDeny {
event_id: u64,
comment: BeatmapsetCommentId,
created_at: OffsetDateTime,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
KudosuGain {
event_id: u64,
comment: BeatmapsetCommentKudosuGain,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
KudosuLost {
event_id: u64,
comment: BeatmapsetCommentKudosuGain,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
LanguageEdit {
event_id: u64,
comment: BeatmapsetCommentEdit<Language>,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
},
Love {
event_id: u64,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
},
Nominate {
event_id: u64,
comment: BeatmapsetCommentNominate,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
},
NominationReset {
event_id: u64,
comment: BeatmapsetCommentNominationReset,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
NominationResetReceived {
event_id: u64,
comment: BeatmapsetCommentNominationResetReceived,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
discussion: BeatmapsetDiscussion,
},
NsfwToggle {
event_id: u64,
comment: BeatmapsetCommentEdit<bool>,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
},
OwnerChange {
event_id: u64,
comment: BeatmapsetCommentOwnerChange,
created_at: OffsetDateTime,
user_id: u32,
mapset: Box<Beatmapset>,
},
Rank {
event_id: u64,
created_at: OffsetDateTime,
mapset: Box<Beatmapset>,
},
Qualify {
event_id: u64,
created_at: OffsetDateTime,
mapset: Box<Beatmapset>,
},
TagsEdit {
event_id: u64,
comment: BeatmapsetCommentEdit<String>,
created_at: OffsetDateTime,
mapset: Box<Beatmapset>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disqualify
Fields
§
comment: BeatmapsetCommentId§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionGenreEdit
IssueReopen
Fields
§
comment: BeatmapsetCommentId§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionIssueResolve
Fields
§
comment: BeatmapsetCommentId§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionKudosuDeny
Fields
§
comment: BeatmapsetCommentId§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionKudosuGain
Fields
§
comment: BeatmapsetCommentKudosuGain§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionKudosuLost
Fields
§
comment: BeatmapsetCommentKudosuGain§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionLanguageEdit
Love
Nominate
NominationReset
Fields
§
comment: BeatmapsetCommentNominationReset§
created_at: OffsetDateTime§
mapset: Box<Beatmapset>§
discussion: BeatmapsetDiscussionNominationResetReceived
NsfwToggle
OwnerChange
Rank
Qualify
TagsEdit
Trait Implementations§
Source§impl Clone for BeatmapsetEvent
impl Clone for BeatmapsetEvent
Source§fn clone(&self) -> BeatmapsetEvent
fn clone(&self) -> BeatmapsetEvent
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 BeatmapsetEvent
impl Debug for BeatmapsetEvent
Source§impl<'de> Deserialize<'de> for BeatmapsetEvent
impl<'de> Deserialize<'de> for BeatmapsetEvent
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 BeatmapsetEvent
impl PartialEq for BeatmapsetEvent
Source§impl Serialize for BeatmapsetEvent
impl Serialize for BeatmapsetEvent
impl Eq for BeatmapsetEvent
impl StructuralPartialEq for BeatmapsetEvent
Auto Trait Implementations§
impl Freeze for BeatmapsetEvent
impl RefUnwindSafe for BeatmapsetEvent
impl Send for BeatmapsetEvent
impl Sync for BeatmapsetEvent
impl Unpin for BeatmapsetEvent
impl UnwindSafe for BeatmapsetEvent
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.