Struct foxhole_api::response_types::MapDataResponse [−][src]
pub struct MapDataResponse {
pub region_id: u16,
pub scorched_victory_towns: u16,
pub map_items: Vec<MapItem>,
pub map_text_items: Vec<MapTextItem>,
pub last_updated: u64,
pub version: u16,
}Expand description
Response for the /worldconquest/maps/{map}/dynamic|static endpoints.
Contains information about a requested map hex. This includes static objects, as well as objects that can change dynamically. This does not include player built fortifications.
Fields
region_id: u16scorched_victory_towns: u16map_items: Vec<MapItem>map_text_items: Vec<MapTextItem>last_updated: u64version: u16Trait 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 MapDataResponse
impl Send for MapDataResponse
impl Sync for MapDataResponse
impl Unpin for MapDataResponse
impl UnwindSafe for MapDataResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
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