1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Deserialize;

pub mod create;
pub mod get;

/// API Object: https://www.zabbix.com/documentation/6.0/en/manual/api/reference/item/object
#[derive(Deserialize, Debug)]
pub struct ZabbixItem {
    pub name: String,

    pub key_: String,

    #[serde(rename = "hostid")]
    pub host_id: String
}