/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WebEngine {
/// Name is the engine, matching the `engine` stamped on each result.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
/// Outcome is \"answered\", \"blind\" or \"failed\" — see outcome.go. \"blind\" means the page came back and no results could be read out of it.
#[serde(rename = "outcome", skip_serializing_if = "Option::is_none")]
pub outcome: Option<String>,
/// Results is how many hits this engine contributed, before the merge deduplicated them against the others.
#[serde(rename = "results", skip_serializing_if = "Option::is_none")]
pub results: Option<i32>,
}
impl WebEngine {
pub fn new() -> WebEngine {
WebEngine {
name: None,
outcome: None,
results: None,
}
}
}