Adding features
Release Tagging / release (pull_request) Successful in 16s
simodels Build / Check (pull_request) Successful in 17s
simodels Build / build (pull_request) Successful in 18s
simodels Build / Clippy (pull_request) Successful in 18s
simodels Build / Rustfmt (pull_request) Successful in 23s
simodels Build / Test Suite (pull_request) Successful in 28s
Release Tagging / release (pull_request) Successful in 16s
simodels Build / Check (pull_request) Successful in 17s
simodels Build / build (pull_request) Successful in 18s
simodels Build / Clippy (pull_request) Successful in 18s
simodels Build / Rustfmt (pull_request) Successful in 23s
simodels Build / Test Suite (pull_request) Successful in 28s
This commit is contained in:
5 files changed
+40
-14
No files matched your search
+2
-6
@@ -14,12 +14,8 @@ impl SongEvent {
|
||||
pub fn is_event_type_valid(&self) -> bool {
|
||||
matches!(
|
||||
self.event_type.as_str(),
|
||||
SONG_EVENT_TYPE_PLAY | SONG_EVENT_TYPE_PAUSE
|
||||
super::constants::song_event::SONG_EVENT_TYPE_PLAY
|
||||
| super::constants::song_event::SONG_EVENT_TYPE_PAUSE
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/// Song Event Type - Play
|
||||
pub const SONG_EVENT_TYPE_PLAY: &str = "PLAY";
|
||||
/// Song Event Type - PAUSE
|
||||
pub const SONG_EVENT_TYPE_PAUSE: &str = "PAUSE";
|
||||
Reference in new issue
Block a user