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

1
2
3
4
5
6
7
8
9
10
11
//! Fired whenever the player cracks open an asteroid.

use serde::{Deserialize, Serialize};

/// Fired whenever the player cracks open an asteroid.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct AsteroidCrackedEvent {
    /// The body of the ring where the player cracked the asteroid.
    pub body: String,
}