pub struct UniverseGroup<'a> { /* private fields */ }Expand description
Endpoints for Universe
Implementations§
Source§impl UniverseGroup<'_>
impl UniverseGroup<'_>
Sourcepub async fn get_universe_categories_category(
&self,
category_id: i64,
) -> EsiResult<CategoriesCategory>
pub async fn get_universe_categories_category( &self, category_id: i64, ) -> EsiResult<CategoriesCategory>
Get information on a category
Sourcepub async fn get_universe_groups_group(&self, group_id: i64) -> EsiResult<Group>
pub async fn get_universe_groups_group(&self, group_id: i64) -> EsiResult<Group>
Get information on a group
Sourcepub async fn get_universe_types_type(&self, type_id: i64) -> EsiResult<Type>
pub async fn get_universe_types_type(&self, type_id: i64) -> EsiResult<Type>
Get information on a type
Sourcepub async fn get_constellation_ids(&self) -> EsiResult<Vec<i64>>
pub async fn get_constellation_ids(&self) -> EsiResult<Vec<i64>>
Get a list of constellation ids
Sourcepub async fn get_constellation(
&self,
constellation_id: i64,
) -> EsiResult<Constellation>
pub async fn get_constellation( &self, constellation_id: i64, ) -> EsiResult<Constellation>
Get information on a constellation
Sourcepub async fn get_region_ids(&self) -> EsiResult<Vec<i64>>
pub async fn get_region_ids(&self) -> EsiResult<Vec<i64>>
Get a list of region ids
Sourcepub async fn get_region(&self, region_id: i64) -> EsiResult<Region>
pub async fn get_region(&self, region_id: i64) -> EsiResult<Region>
Get information on a region
Sourcepub async fn get_system_ids(&self) -> EsiResult<Vec<i64>>
pub async fn get_system_ids(&self) -> EsiResult<Vec<i64>>
Get a list of system ids
Sourcepub async fn get_system(&self, system_id: i64) -> EsiResult<System>
pub async fn get_system(&self, system_id: i64) -> EsiResult<System>
Get information on a system
Sourcepub async fn get_type_ids(&self) -> EsiResult<Vec<i64>>
pub async fn get_type_ids(&self) -> EsiResult<Vec<i64>>
Get a list of type ids
Sourcepub async fn get_station(&self, station_id: i64) -> EsiResult<Station>
pub async fn get_station(&self, station_id: i64) -> EsiResult<Station>
Information about a station
Sourcepub async fn get_structure(&self, structure_id: i64) -> EsiResult<Structure>
pub async fn get_structure(&self, structure_id: i64) -> EsiResult<Structure>
Returns information on requested structure if you are on the ACL. Otherwise, returns “Forbidden” for all inputs.
Source§impl UniverseGroup<'_>
impl UniverseGroup<'_>
Sourcepub async fn get_ancestries(&self) -> EsiResult<Vec<Ancestry>>
pub async fn get_ancestries(&self) -> EsiResult<Vec<Ancestry>>
List the character ancestries.
Sourcepub async fn get_asteroid_belt(
&self,
asteroid_belt_id: i64,
) -> EsiResult<AsteroidBelt>
pub async fn get_asteroid_belt( &self, asteroid_belt_id: i64, ) -> EsiResult<AsteroidBelt>
Get information about an asteroid belt.
Sourcepub async fn get_bloodlines(&self) -> EsiResult<Vec<Bloodline>>
pub async fn get_bloodlines(&self) -> EsiResult<Vec<Bloodline>>
List the character bloodlines.
Sourcepub async fn get_category_ids(&self) -> EsiResult<Vec<i64>>
pub async fn get_category_ids(&self) -> EsiResult<Vec<i64>>
List the IDs of all item categories.
Sourcepub async fn get_factions(&self) -> EsiResult<Vec<UniverseFaction>>
pub async fn get_factions(&self) -> EsiResult<Vec<UniverseFaction>>
List the NPC factions.
Sourcepub async fn get_graphic_ids(&self) -> EsiResult<Vec<i64>>
pub async fn get_graphic_ids(&self) -> EsiResult<Vec<i64>>
List the IDs of all graphics.
Sourcepub async fn get_graphic(&self, graphic_id: i64) -> EsiResult<Graphic>
pub async fn get_graphic(&self, graphic_id: i64) -> EsiResult<Graphic>
Get information about a graphic.
Sourcepub async fn get_group_ids(&self, page: Option<i32>) -> EsiResult<Vec<i64>>
pub async fn get_group_ids(&self, page: Option<i32>) -> EsiResult<Vec<i64>>
List the IDs of all item groups.
Sourcepub async fn get_planet(&self, planet_id: i64) -> EsiResult<PlanetInfo>
pub async fn get_planet(&self, planet_id: i64) -> EsiResult<PlanetInfo>
Get information about a planet.
Sourcepub async fn get_stargate(&self, stargate_id: i64) -> EsiResult<Stargate>
pub async fn get_stargate(&self, stargate_id: i64) -> EsiResult<Stargate>
Get information about a stargate.
Sourcepub async fn get_structure_ids(
&self,
filter: Option<StructureFilter>,
) -> EsiResult<Vec<i64>>
pub async fn get_structure_ids( &self, filter: Option<StructureFilter>, ) -> EsiResult<Vec<i64>>
List the IDs of public structures, optionally filtered.
Sourcepub async fn get_system_jumps(&self) -> EsiResult<Vec<SystemJumps>>
pub async fn get_system_jumps(&self) -> EsiResult<Vec<SystemJumps>>
List the number of ship jumps per system in the last hour.
Sourcepub async fn get_system_kills(&self) -> EsiResult<Vec<SystemKills>>
pub async fn get_system_kills(&self) -> EsiResult<Vec<SystemKills>>
List the number of kills per system in the last hour.
Sourcepub async fn get_names(&self, ids: &[i64]) -> EsiResult<Vec<ResolvedName>>
pub async fn get_names(&self, ids: &[i64]) -> EsiResult<Vec<ResolvedName>>
Resolve a list of IDs to names and categories.
The spec allows at most 1000 items per request; longer lists are split into several requests, sent concurrently, and the results are joined in order. An empty list sends nothing.