Skip to content

Commit

Permalink
CorporationPublicInfo & AllianceInfo - Serializable & Cloneable (#28)
Browse files Browse the repository at this point in the history
* CorporationPublicInfo - Serializable & Cloneable

* AllianceInfo - Serializable & Cloneable

---------

Co-authored-by: Olivier Ory <olivier.ory@uliege.be>
  • Loading branch information
normegil and Olivier Ory authored Dec 5, 2023
1 parent 3ea4753 commit 3869994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/groups/alliance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub struct AllianceGroup<'a> {
pub(crate) esi: &'a Esi,
}

#[derive(Debug, Deserialize)]
#[derive(Debug, Deserialize, Serialize, Clone)]
#[allow(missing_docs)]
pub struct AllianceInfo {
pub creator_corporation_id: u64,
Expand Down
2 changes: 1 addition & 1 deletion src/groups/corporation.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::prelude::*;

#[derive(Debug, Deserialize)]
#[derive(Debug, Deserialize, Serialize, Clone)]
#[allow(missing_docs)]
pub struct CorporationPublicInfo {
pub alliance_id: Option<u64>,
Expand Down

0 comments on commit 3869994

Please sign in to comment.