pub struct InterdictionEvent {
pub success: bool,
pub is_player: bool,
pub interdicted: Option<String>,
pub combat_rank: Option<CombatRank>,
pub faction: Option<String>,
pub power: Option<String>,
}
Expand description
Fired when the player completes an interdiction.
Fields§
§success: bool
Whether the interdiction was successful.
is_player: bool
Whether the target is a player.
interdicted: Option<String>
§combat_rank: Option<CombatRank>
§faction: Option<String>
§power: Option<String>
Trait Implementations§
Source§impl Clone for InterdictionEvent
impl Clone for InterdictionEvent
Source§fn clone(&self) -> InterdictionEvent
fn clone(&self) -> InterdictionEvent
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 InterdictionEvent
impl Debug for InterdictionEvent
Source§impl<'de> Deserialize<'de> for InterdictionEvent
impl<'de> Deserialize<'de> for InterdictionEvent
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 InterdictionEvent
impl PartialEq for InterdictionEvent
Source§impl Serialize for InterdictionEvent
impl Serialize for InterdictionEvent
impl StructuralPartialEq for InterdictionEvent
Auto Trait Implementations§
impl Freeze for InterdictionEvent
impl RefUnwindSafe for InterdictionEvent
impl Send for InterdictionEvent
impl Sync for InterdictionEvent
impl Unpin for InterdictionEvent
impl UnwindSafe for InterdictionEvent
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