Struct foxhole_api::response_types::WarDataResponse [−][src]
pub struct WarDataResponse {
pub war_id: String,
pub war_number: u32,
pub winner: String,
pub conquest_start_time: u64,
pub conquest_end_time: Option<u64>,
pub resistance_start_time: Option<u64>,
pub required_victory_towns: u8,
}Fields
war_id: Stringwar_number: u32winner: Stringconquest_start_time: u64conquest_end_time: Option<u64>resistance_start_time: Option<u64>required_victory_towns: u8Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for WarDataResponse
impl Send for WarDataResponse
impl Sync for WarDataResponse
impl Unpin for WarDataResponse
impl UnwindSafe for WarDataResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more