pub struct EngineerProgressUpdate {
pub engineer: String,
pub engineer_id: Engineer,
pub progress: Option<EngineerProgressStartupProgress>,
pub rank: Option<u8>,
pub rank_progress: Option<f32>,
}
Expand description
Fired when the player progresses with an engineer.
Fields§
§engineer: String
The name of the engineer.
engineer_id: Engineer
The id of the engineer.
progress: Option<EngineerProgressStartupProgress>
The current progress unlock status.
rank: Option<u8>
The currently unlocked rank or highest possible ‘tier’ for the engineer.
rank_progress: Option<f32>
The current progress towards the next rank.
Trait Implementations§
Source§impl Clone for EngineerProgressUpdate
impl Clone for EngineerProgressUpdate
Source§fn clone(&self) -> EngineerProgressUpdate
fn clone(&self) -> EngineerProgressUpdate
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 EngineerProgressUpdate
impl Debug for EngineerProgressUpdate
Source§impl<'de> Deserialize<'de> for EngineerProgressUpdate
impl<'de> Deserialize<'de> for EngineerProgressUpdate
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 EngineerProgressUpdate
impl PartialEq for EngineerProgressUpdate
Source§impl Serialize for EngineerProgressUpdate
impl Serialize for EngineerProgressUpdate
impl StructuralPartialEq for EngineerProgressUpdate
Auto Trait Implementations§
impl Freeze for EngineerProgressUpdate
impl RefUnwindSafe for EngineerProgressUpdate
impl Send for EngineerProgressUpdate
impl Sync for EngineerProgressUpdate
impl Unpin for EngineerProgressUpdate
impl UnwindSafe for EngineerProgressUpdate
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