pub struct EngineerContributionEvent {
pub engineer: String,
pub engineer_id: Engineer,
pub kind: EngineerContributionEventType,
}
Expand description
Fired when the player contributes to an unlock requirement for an engineer.
Fields§
§engineer: String
The engineer the player contributed to.
engineer_id: Engineer
The ID of the engineer.
kind: EngineerContributionEventType
The kind of contribution the player has made to the engineer.
Trait Implementations§
Source§impl Clone for EngineerContributionEvent
impl Clone for EngineerContributionEvent
Source§fn clone(&self) -> EngineerContributionEvent
fn clone(&self) -> EngineerContributionEvent
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 EngineerContributionEvent
impl Debug for EngineerContributionEvent
Source§impl<'de> Deserialize<'de> for EngineerContributionEvent
impl<'de> Deserialize<'de> for EngineerContributionEvent
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
impl StructuralPartialEq for EngineerContributionEvent
Auto Trait Implementations§
impl Freeze for EngineerContributionEvent
impl RefUnwindSafe for EngineerContributionEvent
impl Send for EngineerContributionEvent
impl Sync for EngineerContributionEvent
impl Unpin for EngineerContributionEvent
impl UnwindSafe for EngineerContributionEvent
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