pub struct SNMPSettings {
pub authentication_key: Option<String>,
pub authentication_key_set: Option<bool>,
pub authentication_protocol: Option<SNMPAuthenticationProtocols>,
pub encryption_key: Option<String>,
pub encryption_key_set: Option<bool>,
pub encryption_protocol: Option<SNMPEncryptionProtocols>,
pub trap_community: Option<String>,
}
Expand description
Settings for an SNMP aggregation source.
Fields§
§authentication_key: Option<String>
The secret authentication key for SNMPv3.
authentication_key_set: Option<bool>
Indicates if the AuthenticationKey property is set.
authentication_protocol: Option<SNMPAuthenticationProtocols>
§encryption_key: Option<String>
The secret authentication key for SNMPv3.
encryption_key_set: Option<bool>
Indicates if the EncryptionKey property is set.
encryption_protocol: Option<SNMPEncryptionProtocols>
§trap_community: Option<String>
The SNMP trap community string.
Trait Implementations§
Source§impl Clone for SNMPSettings
impl Clone for SNMPSettings
Source§fn clone(&self) -> SNMPSettings
fn clone(&self) -> SNMPSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SNMPSettings
impl Debug for SNMPSettings
Source§impl Default for SNMPSettings
impl Default for SNMPSettings
Source§impl<'de> Deserialize<'de> for SNMPSettings
impl<'de> Deserialize<'de> for SNMPSettings
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 Metadata<'static> for SNMPSettings
impl Metadata<'static> for SNMPSettings
Source§const JSON_SCHEMA: &'static str = "AggregationSource.v1_3_1.json"
const JSON_SCHEMA: &'static str = "AggregationSource.v1_3_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SNMPSettings
impl RefUnwindSafe for SNMPSettings
impl Send for SNMPSettings
impl Sync for SNMPSettings
impl Unpin for SNMPSettings
impl UnwindSafe for SNMPSettings
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