ed_journals/modules/logs/content/log_event_content/
music_event.rs

1
2
3
4
5
6
7
8
9
10
11
//! Fired when the game changes the music track.

use serde::{Deserialize, Serialize};

/// Fired when the game changes the music track.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct MusicEvent {
    /// The name of the track that is now playing.
    pub music_track: String,
}