Skip to content

Commit 6058762

Browse files
committed
Resolve conflicting struct names
1 parent 9b71e56 commit 6058762

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rfesi"
3-
version = "0.15.0"
3+
version = "0.15.1"
44
authors = ["Celeo <[email protected]>"]
55
edition = "2021"
66
description = "Rust API for EVE Online's ESI"

src/groups/character.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct CharacterPublicInfo {
2121

2222
#[derive(Debug, Deserialize)]
2323
#[allow(missing_docs)]
24-
pub struct CorporationHistoryItem {
24+
pub struct CharacterCorporationHistoryItem {
2525
pub corporation_id: u64,
2626
pub record_id: u64,
2727
pub start_date: String,
@@ -59,7 +59,7 @@ impl<'a> CharacterGroup<'a> {
5959
get_history,
6060
"get_characters_character_id_corporationhistory",
6161
RequestType::Public,
62-
Vec<CorporationHistoryItem>,
62+
Vec<CharacterCorporationHistoryItem>,
6363
(character_id: u64) => "{character_id}"
6464
);
6565

0 commit comments

Comments
 (0)