pub struct InfrastParams {
pub enable: bool,
pub mode: i32,
pub facility: Vec<InfrastFacility>,
pub drones: DronesUsage,
pub threshold: f64,
pub replenish: bool,
pub dorm_notstationed_enabled: bool,
pub dorm_trust_enabled: bool,
pub filename: Option<String>,
pub plan_index: Option<i32>,
}Fields§
§enable: bool§mode: i32§facility: Vec<InfrastFacility>§drones: DronesUsage§threshold: f64§replenish: bool§dorm_notstationed_enabled: bool§dorm_trust_enabled: bool§filename: Option<String>§plan_index: Option<i32>Trait Implementations§
Source§impl Debug for InfrastParams
impl Debug for InfrastParams
Source§impl Default for InfrastParams
impl Default for InfrastParams
Source§impl<'de> Deserialize<'de> for InfrastParams
impl<'de> Deserialize<'de> for InfrastParams
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
Auto Trait Implementations§
impl Freeze for InfrastParams
impl RefUnwindSafe for InfrastParams
impl Send for InfrastParams
impl Sync for InfrastParams
impl Unpin for InfrastParams
impl UnwindSafe for InfrastParams
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