1 2 3 4 5 6 7 8
use crate::domain::universe::system::System; use crate::ApiClient; use crate::Result; /// Get a system by its id pub async fn system(client: &ApiClient, id: u32) -> Result<Option<System>> { client.query_esi(format!("universe/systems/{}/", id)).await }