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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! Fired when the player clears their ship after being arrested while on-foot.

use serde::{Deserialize, Serialize};

use crate::modules::ship::ShipType;

/// Fired when the player clears their ship after being arrested while on-foot.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct ClearImpoundEvent {
    /// The ship type of the impounded ship.
    pub ship_type: ShipType,

    /// The id of the impounded ship.
    #[serde(rename = "ShipID")]
    pub ship_id: u64,

    /// The market id where the ship is impounded.
    #[serde(rename = "ShipMarketID")]
    pub ship_market_id: u64,

    /// The market id where the player currently is.
    #[serde(rename = "MarketID")]
    pub market_id: u64,
}