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

1
2
3
4
5
6
7
8
9
10
11
//! Fired when the player cancels a taxi.

use serde::{Deserialize, Serialize};

/// Fired when the player cancels a taxi.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct CancelTaxiEvent {
    /// Amount of credits refunded to the player.
    pub refund: u64,
}