pub struct ShipTargetedEvent {
pub target_locked: bool,
pub scan_stage: Option<ShipTargetedEventScanStage>,
}
Fields§
§target_locked: bool
§scan_stage: Option<ShipTargetedEventScanStage>
None is used when [target_locked] is false.
Trait Implementations§
Source§impl Clone for ShipTargetedEvent
impl Clone for ShipTargetedEvent
Source§fn clone(&self) -> ShipTargetedEvent
fn clone(&self) -> ShipTargetedEvent
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 ShipTargetedEvent
impl Debug for ShipTargetedEvent
Source§impl<'de> Deserialize<'de> for ShipTargetedEvent
impl<'de> Deserialize<'de> for ShipTargetedEvent
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 ShipTargetedEvent
impl PartialEq for ShipTargetedEvent
Source§impl Serialize for ShipTargetedEvent
impl Serialize for ShipTargetedEvent
impl StructuralPartialEq for ShipTargetedEvent
Auto Trait Implementations§
impl Freeze for ShipTargetedEvent
impl RefUnwindSafe for ShipTargetedEvent
impl Send for ShipTargetedEvent
impl Sync for ShipTargetedEvent
impl Unpin for ShipTargetedEvent
impl UnwindSafe for ShipTargetedEvent
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