esi_openapi/groups/
incursions.rs1use crate::prelude::*;
2
3pub struct IncursionsGroup<'a> {
5 pub(crate) esi: &'a Esi,
6}
7
8#[derive(Debug, Deserialize)]
9#[allow(missing_docs)]
10pub struct Incursion {
11 pub constellation_id: i32,
12 pub faction_id: i32,
13 pub has_boss: bool,
14 pub infested_solar_systems: Vec<u32>,
15 pub influence: f64,
16 pub staging_solar_system_id: i32,
17 pub state: String,
18 #[serde(rename = "type")]
19 pub incursion_type: String,
20}
21
22impl IncursionsGroup<'_> {
23 api_get!(
24 list,
26 "GetIncursions",
27 RequestType::Public,
28 Vec<Incursion>,
29 );
30}