pub struct NotificationWireIdentity {
pub version: Version,
pub request_id: Option<i32>,
pub v3: Option<V3NotificationWireIdentity>,
}Expand description
Wire identity retained for one received notification.
These fields identify one protocol transmission, not one semantic event. In particular, an Inform retry can carry a different V3 message ID and is delivered as another application event.
Fields§
§version: VersionProtocol version decoded from the datagram.
request_id: Option<i32>PDU request ID, absent only for an SNMPv1 Trap-PDU.
v3: Option<V3NotificationWireIdentity>V3 message and USM identity, or None for v1/v2c.
Trait Implementations§
Source§impl Clone for NotificationWireIdentity
impl Clone for NotificationWireIdentity
Source§fn clone(&self) -> NotificationWireIdentity
fn clone(&self) -> NotificationWireIdentity
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 NotificationWireIdentity
impl Debug for NotificationWireIdentity
impl Eq for NotificationWireIdentity
Source§impl PartialEq for NotificationWireIdentity
impl PartialEq for NotificationWireIdentity
impl StructuralPartialEq for NotificationWireIdentity
Auto Trait Implementations§
impl !Freeze for NotificationWireIdentity
impl RefUnwindSafe for NotificationWireIdentity
impl Send for NotificationWireIdentity
impl Sync for NotificationWireIdentity
impl Unpin for NotificationWireIdentity
impl UnsafeUnpin for NotificationWireIdentity
impl UnwindSafe for NotificationWireIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.