pub struct SovereigntyCampaign {
pub attackers_score: Option<f64>,
pub campaign_id: i64,
pub constellation_id: i64,
pub defender_id: Option<i64>,
pub defender_score: Option<f64>,
pub event_type: CampaignEventType,
pub participants: Option<Vec<CampaignParticipant>>,
pub solar_system_id: i64,
pub start_time: String,
pub structure_id: i64,
}Expand description
An active sovereignty campaign.
Fields§
§attackers_score: Option<f64>§campaign_id: i64§constellation_id: i64§defender_id: Option<i64>§defender_score: Option<f64>§event_type: CampaignEventType§participants: Option<Vec<CampaignParticipant>>§solar_system_id: i64§start_time: String§structure_id: i64Trait Implementations§
Source§impl Clone for SovereigntyCampaign
impl Clone for SovereigntyCampaign
Source§impl Debug for SovereigntyCampaign
impl Debug for SovereigntyCampaign
Source§impl<'de> Deserialize<'de> for SovereigntyCampaign
impl<'de> Deserialize<'de> for SovereigntyCampaign
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SovereigntyCampaign
impl PartialEq for SovereigntyCampaign
impl StructuralPartialEq for SovereigntyCampaign
Auto Trait Implementations§
impl Freeze for SovereigntyCampaign
impl RefUnwindSafe for SovereigntyCampaign
impl Send for SovereigntyCampaign
impl Sync for SovereigntyCampaign
impl Unpin for SovereigntyCampaign
impl UnsafeUnpin for SovereigntyCampaign
impl UnwindSafe for SovereigntyCampaign
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more