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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Fired when a faction has paid for scanning a datapoint.

use serde::{Deserialize, Serialize};

/// Fired when a faction has paid for scanning a datapoint.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct DatalinkVoucherEvent {
    /// Number of credits awarded.
    pub reward: u64,

    /// The faction that the data belonged to.
    pub victim_faction: String,

    /// The faction that paid the player.
    pub payee_faction: String,
}