pub struct SNMPCommunity {
pub access_mode: Option<SNMPCommunityAccessMode>,
pub community_string: Option<String>,
pub name: Option<String>,
}
Expand description
An SNMP community strings.
Fields§
§access_mode: Option<SNMPCommunityAccessMode>
§community_string: Option<String>
The SNMP community string.
name: Option<String>
The name of the SNMP community.
Trait Implementations§
Source§impl Clone for SNMPCommunity
impl Clone for SNMPCommunity
Source§fn clone(&self) -> SNMPCommunity
fn clone(&self) -> SNMPCommunity
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 SNMPCommunity
impl Debug for SNMPCommunity
Source§impl Default for SNMPCommunity
impl Default for SNMPCommunity
Source§impl<'de> Deserialize<'de> for SNMPCommunity
impl<'de> Deserialize<'de> for SNMPCommunity
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 SNMPCommunity
impl Metadata<'static> for SNMPCommunity
Source§const JSON_SCHEMA: &'static str = "ManagerNetworkProtocol.v1_9_1.json"
const JSON_SCHEMA: &'static str = "ManagerNetworkProtocol.v1_9_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 SNMPCommunity
impl RefUnwindSafe for SNMPCommunity
impl Send for SNMPCommunity
impl Sync for SNMPCommunity
impl Unpin for SNMPCommunity
impl UnwindSafe for SNMPCommunity
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