pub struct SnmpCommunity {
pub name: String,
pub access: SnmpAccess,
pub acl: Option<String>,
}Expand description
An snmp-server community <name> RO|RW entry.
Fields§
§name: String§access: SnmpAccess§acl: Option<String>Optional ACL restricting which hosts can use this 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 (const: unstable) · 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 SnmpCommunity
impl Debug 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
Auto Trait Implementations§
impl Freeze for SnmpCommunity
impl RefUnwindSafe for SnmpCommunity
impl Send for SnmpCommunity
impl Sync for SnmpCommunity
impl Unpin for SnmpCommunity
impl UnsafeUnpin 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