pub struct ZabbixHostInterface {
pub type: u8,
pub main: u8,
pub ip: String,
pub dns: String,
pub port: String,
pub use_ip: u8,
}
Expand description
API Object: https://www.zabbix.com/documentation/6.0/en/manual/api/reference/hostinterface/object
Fields§
§type: u8
§main: u8
§ip: String
§dns: String
§port: String
§use_ip: u8
Trait Implementations§
Source§impl Clone for ZabbixHostInterface
impl Clone for ZabbixHostInterface
Source§fn clone(&self) -> ZabbixHostInterface
fn clone(&self) -> ZabbixHostInterface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ZabbixHostInterface
impl Debug for ZabbixHostInterface
Source§impl<'de> Deserialize<'de> for ZabbixHostInterface
impl<'de> Deserialize<'de> for ZabbixHostInterface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ZabbixHostInterface
impl PartialEq for ZabbixHostInterface
Source§impl Serialize for ZabbixHostInterface
impl Serialize for ZabbixHostInterface
impl StructuralPartialEq for ZabbixHostInterface
Auto Trait Implementations§
impl Freeze for ZabbixHostInterface
impl RefUnwindSafe for ZabbixHostInterface
impl Send for ZabbixHostInterface
impl Sync for ZabbixHostInterface
impl Unpin for ZabbixHostInterface
impl UnwindSafe for ZabbixHostInterface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more