pub struct AuditCtx<'a> {
pub log: Option<&'a SharedAuditLog>,
pub mode: ProxyMode,
pub event_ctx: EventContext<'a>,
pub target: &'a str,
pub method: &'a str,
pub path: &'a str,
}Expand description
Audit-emission context.
Fields§
§log: Option<&'a SharedAuditLog>§mode: ProxyMode§event_ctx: EventContext<'a>§target: &'a strLogical target string (route prefix for reverse, hostname for intercept).
method: &'a str§path: &'a strPath as it should appear in the audit log (the inbound path before
any rewriting — e.g. /v1/chat/completions, not the upstream URL).
Auto Trait Implementations§
impl<'a> Freeze for AuditCtx<'a>
impl<'a> RefUnwindSafe for AuditCtx<'a>
impl<'a> Send for AuditCtx<'a>
impl<'a> Sync for AuditCtx<'a>
impl<'a> Unpin for AuditCtx<'a>
impl<'a> UnsafeUnpin for AuditCtx<'a>
impl<'a> UnwindSafe for AuditCtx<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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