pub struct WarReportResponse {
pub total_enlistments: u32,
pub colonial_casualties: u32,
pub warden_casualties: u32,
pub day_of_war: u32,
}
Expand description
Response for the worldconquest/warReport/{map}
endpoint.
This response contains information about the current state of the war for a given map.
Fields§
§total_enlistments: u32
§colonial_casualties: u32
§warden_casualties: u32
§day_of_war: u32
Trait Implementations§
Source§impl Clone for WarReportResponse
impl Clone for WarReportResponse
Source§fn clone(&self) -> WarReportResponse
fn clone(&self) -> WarReportResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WarReportResponse
impl Debug for WarReportResponse
Source§impl<'de> Deserialize<'de> for WarReportResponse
impl<'de> Deserialize<'de> for WarReportResponse
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 WarReportResponse
impl PartialEq for WarReportResponse
impl Eq for WarReportResponse
impl StructuralPartialEq for WarReportResponse
Auto Trait Implementations§
impl Freeze for WarReportResponse
impl RefUnwindSafe for WarReportResponse
impl Send for WarReportResponse
impl Sync for WarReportResponse
impl Unpin for WarReportResponse
impl UnwindSafe for WarReportResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.