Skip to main content
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: String

If the encoding parameter of the request was ‘geojson’, then this contains the GeoJSON encoded response. Otherwise, empty.

text_encoded_response: String

If 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

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Source

fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,

Deserialize this value from the given Serde deserializer. Read more
Source

fn serialize<__S>(&self, __serializer: __S) ->Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more