pub struct Skyhook {
pub effective_workforce: Option<i64>,
pub id: i64,
pub is_active: bool,
pub planet_id: i64,
pub reagents: Vec<SkyhookReagent>,
pub reinforcement_timer: Option<EndTimer>,
pub state: SkyhookState,
pub theft_vulnerability: Option<TimeWindow>,
}Expand description
The details of a skyhook.
Fields§
§effective_workforce: Option<i64>Effective workforce.
id: i64ID of the skyhook.
is_active: boolWhether the skyhook is active.
planet_id: i64Planet the skyhook is on.
reagents: Vec<SkyhookReagent>Reagent stock.
reinforcement_timer: Option<EndTimer>Reinforcement timer, if reinforced.
state: SkyhookStateState of the skyhook.
theft_vulnerability: Option<TimeWindow>Window in which the contents can be stolen.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Skyhook
impl<'de> Deserialize<'de> for Skyhook
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 Eq for Skyhook
impl StructuralPartialEq for Skyhook
Auto Trait Implementations§
impl Freeze for Skyhook
impl RefUnwindSafe for Skyhook
impl Send for Skyhook
impl Sync for Skyhook
impl Unpin for Skyhook
impl UnsafeUnpin for Skyhook
impl UnwindSafe for Skyhook
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.