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: StringThe engineer the player contributed to.
engineer_id: EngineerThe ID of the engineer.
kind: EngineerContributionEventTypeThe 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Source§impl PartialEq for EngineerContributionEvent
impl PartialEq for EngineerContributionEvent
Source§fn eq(&self, other: &EngineerContributionEvent) -> bool
fn eq(&self, other: &EngineerContributionEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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