pub struct ThargoidWar {
pub current_state: ThargoidWarState,
pub next_state_success: ThargoidWarState,
pub next_state_failure: ThargoidWarState,
pub success_state_reached: bool,
pub war_progress: f32,
pub remaining_ports: u8,
pub estimated_remaining_time: Option<String>,
}
Fields§
§current_state: ThargoidWarState
§next_state_success: ThargoidWarState
§next_state_failure: ThargoidWarState
§success_state_reached: bool
§war_progress: f32
§remaining_ports: u8
§estimated_remaining_time: Option<String>
Trait Implementations§
Source§impl Clone for ThargoidWar
impl Clone for ThargoidWar
Source§fn clone(&self) -> ThargoidWar
fn clone(&self) -> ThargoidWar
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 ThargoidWar
impl Debug for ThargoidWar
Source§impl<'de> Deserialize<'de> for ThargoidWar
impl<'de> Deserialize<'de> for ThargoidWar
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 ThargoidWar
impl PartialEq for ThargoidWar
Source§impl Serialize for ThargoidWar
impl Serialize for ThargoidWar
impl StructuralPartialEq for ThargoidWar
Auto Trait Implementations§
impl Freeze for ThargoidWar
impl RefUnwindSafe for ThargoidWar
impl Send for ThargoidWar
impl Sync for ThargoidWar
impl Unpin for ThargoidWar
impl UnwindSafe for ThargoidWar
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