pub struct HostSnmpDestination {
pub host_name: String,
pub port: i32,
pub community: String,
}Expand description
Defines a receiver for SNMP Notifications
§How to access
HostSnmpSystem::configuration.trap_targets?[*]HostSnmpSystem::reconfigure_snmp_agent(spec).trap_targets?[*]
Fields§
§host_name: StringA system listening for SNMP notifications.
These must be a IPv4 unicast address or resolvable dns name.
port: i32UDP port to Notification receiver is listening on.
udp/162 is the reserved port
community: StringTrait Implementations§
Source§impl Debug for HostSnmpDestination
impl Debug for HostSnmpDestination
Source§impl Deserialize for HostSnmpDestination
impl Deserialize for HostSnmpDestination
Source§impl VimObjectTrait for HostSnmpDestination
impl VimObjectTrait for HostSnmpDestination
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for HostSnmpDestination
Auto Trait Implementations§
impl Freeze for HostSnmpDestination
impl RefUnwindSafe for HostSnmpDestination
impl Send for HostSnmpDestination
impl Sync for HostSnmpDestination
impl Unpin for HostSnmpDestination
impl UnsafeUnpin for HostSnmpDestination
impl UnwindSafe for HostSnmpDestination
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