/*
* Geo Engine API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.9.0
* Contact: dev@geoengine.de
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SearchTypes {
#[serde(rename = "fulltext")]
pub fulltext: bool,
#[serde(rename = "prefix")]
pub prefix: bool,
}
impl SearchTypes {
pub fn new(fulltext: bool, prefix: bool) -> SearchTypes {
SearchTypes {
fulltext,
prefix,
}
}
}