diff --git a/src/groups/alliance.rs b/src/groups/alliance.rs index 7429f03..b4e9331 100644 --- a/src/groups/alliance.rs +++ b/src/groups/alliance.rs @@ -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, diff --git a/src/groups/corporation.rs b/src/groups/corporation.rs index 55c39ca..46e3cd9 100644 --- a/src/groups/corporation.rs +++ b/src/groups/corporation.rs @@ -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,