pub struct VisualizeGetFeatureInfoResponse
pub table_names: Vec<String>,
pub type_schemas: Vec<String>,
pub records_binary: Vec<ByteBuf>,
pub records_json: Vec<String>,
pub geojson_encoded_response: String,
pub text_encoded_response: String,
pub info: HashMap<String, String>,
The response from the /visualize/getfeatureinfo endpoint.
Fields
table_names: Vec<String>Names of the tables containing the data retrieved.
type_schemas: Vec<String>The type schemas of the corresponding record sets in records_binary or records_json.
records_binary: Vec<ByteBuf>A binary record set for each table if the encoding parameter of the request was ‘binary’. Otherwise, empty list.
records_json: Vec<String>A JSON record set for each table if the encoding parameter of the request was ‘json’. Otherwise, empty list.
geojson_encoded_response: StringIf the encoding parameter of the request was ‘geojson’, then this contains the GeoJSON encoded response. Otherwise, empty.
text_encoded_response: StringIf the encoding parameter of the request was ‘html’, then this contains the HTML encoded response. Otherwise, empty.
info: HashMap<String, String>Additional information.
Trait Implementations
fn clone(&self) -> VisualizeGetFeatureInfoResponse
fn clone_from(&mut self, source: &Self)
source. Read more