pub struct DatalinkScanEvent {
pub message: String,
pub message_localized: Option<String>,
}
Expand description
Fired when the player scans a datapoint and extracts a message from it.
Fields§
§message: String
Message extracted from the datapoint.
message_localized: Option<String>
The localized message extracted from the datapoint.
Trait Implementations§
Source§impl Clone for DatalinkScanEvent
impl Clone for DatalinkScanEvent
Source§fn clone(&self) -> DatalinkScanEvent
fn clone(&self) -> DatalinkScanEvent
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 DatalinkScanEvent
impl Debug for DatalinkScanEvent
Source§impl<'de> Deserialize<'de> for DatalinkScanEvent
impl<'de> Deserialize<'de> for DatalinkScanEvent
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 DatalinkScanEvent
impl PartialEq for DatalinkScanEvent
Source§impl Serialize for DatalinkScanEvent
impl Serialize for DatalinkScanEvent
impl StructuralPartialEq for DatalinkScanEvent
Auto Trait Implementations§
impl Freeze for DatalinkScanEvent
impl RefUnwindSafe for DatalinkScanEvent
impl Send for DatalinkScanEvent
impl Sync for DatalinkScanEvent
impl Unpin for DatalinkScanEvent
impl UnwindSafe for DatalinkScanEvent
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