esi_openapi/groups/
user_interface.rs1use crate::prelude::*;
2
3pub struct UserInterfaceGroup<'a> {
5 pub(crate) esi: &'a Esi,
6}
7
8impl UserInterfaceGroup<'_> {
9 pub async fn open_market_details_window(&self, type_id: i32) -> EsiResult<()> {
11 let path = self
14 .esi
15 .get_endpoint_for_op_id("PostUiOpenwindowMarketdetails")?;
16 let type_id = type_id.to_string();
17 self.esi
18 .query(
19 "POST",
20 RequestType::Authenticated,
21 &path,
22 Some(&[("type_id", type_id.as_str())]),
23 None,
24 )
25 .await
26 }
27}