pub struct EventContext<'a> {
pub route_id: Option<&'a str>,
pub auth_mechanism: Option<NetworkAuditAuthMechanism>,
pub auth_outcome: Option<NetworkAuditAuthOutcome>,
pub managed_credential_active: Option<bool>,
pub injection_mode: Option<NetworkAuditInjectionMode>,
pub denial_category: Option<NetworkAuditDenialCategory>,
}Expand description
Optional structured audit context attached to a proxy event.
Fields§
§route_id: Option<&'a str>§auth_mechanism: Option<NetworkAuditAuthMechanism>§auth_outcome: Option<NetworkAuditAuthOutcome>§managed_credential_active: Option<bool>§injection_mode: Option<NetworkAuditInjectionMode>§denial_category: Option<NetworkAuditDenialCategory>Trait Implementations§
Source§impl<'a> Clone for EventContext<'a>
impl<'a> Clone for EventContext<'a>
Source§fn clone(&self) -> EventContext<'a>
fn clone(&self) -> EventContext<'a>
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<'a> Debug for EventContext<'a>
impl<'a> Debug for EventContext<'a>
Source§impl<'a> Default for EventContext<'a>
impl<'a> Default for EventContext<'a>
Source§fn default() -> EventContext<'a>
fn default() -> EventContext<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for EventContext<'a>
impl<'a> RefUnwindSafe for EventContext<'a>
impl<'a> Send for EventContext<'a>
impl<'a> Sync for EventContext<'a>
impl<'a> Unpin for EventContext<'a>
impl<'a> UnsafeUnpin for EventContext<'a>
impl<'a> UnwindSafe for EventContext<'a>
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