1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct AntivirusServerCreateParams { /// A description for the server. #[serde(rename = "description")] pub description: Option<String>, /// Whether the server is enabled. #[serde(rename = "enabled")] pub enabled: Option<bool>, /// The icap url for the server. This should have a format of: icap://host.domain:port/path #[serde(rename = "url")] pub url: String, }