pub struct DatalinkVoucherEvent {
pub reward: u64,
pub victim_faction: String,
pub payee_faction: String,
}
Expand description
Fired when a faction has paid for scanning a datapoint.
Fields§
§reward: u64
Number of credits awarded.
victim_faction: String
The faction that the data belonged to.
payee_faction: String
The faction that paid the player.
Trait Implementations§
Source§impl Clone for DatalinkVoucherEvent
impl Clone for DatalinkVoucherEvent
Source§fn clone(&self) -> DatalinkVoucherEvent
fn clone(&self) -> DatalinkVoucherEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DatalinkVoucherEvent
impl Debug for DatalinkVoucherEvent
Source§impl<'de> Deserialize<'de> for DatalinkVoucherEvent
impl<'de> Deserialize<'de> for DatalinkVoucherEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DatalinkVoucherEvent
impl PartialEq for DatalinkVoucherEvent
Source§impl Serialize for DatalinkVoucherEvent
impl Serialize for DatalinkVoucherEvent
impl StructuralPartialEq for DatalinkVoucherEvent
Auto Trait Implementations§
impl Freeze for DatalinkVoucherEvent
impl RefUnwindSafe for DatalinkVoucherEvent
impl Send for DatalinkVoucherEvent
impl Sync for DatalinkVoucherEvent
impl Unpin for DatalinkVoucherEvent
impl UnwindSafe for DatalinkVoucherEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more