pub enum LoggingAction {
Log,
NoLog,
AuditLog,
NoAuditLog,
SanitiseMatched,
SanitizeMatched,
SanitiseArg(String),
SanitiseRequestHeader(String),
SanitiseResponseHeader(String),
}Expand description
Logging actions.
Variants§
Log
Enable logging.
NoLog
Disable logging.
AuditLog
Enable audit logging.
NoAuditLog
Disable audit logging.
SanitiseMatched
Sanitize matched variables.
SanitizeMatched
Sanitize matched variables (alias).
SanitiseArg(String)
Sanitize argument.
SanitiseRequestHeader(String)
Sanitize request header.
SanitiseResponseHeader(String)
Sanitize response header.
Trait Implementations§
Source§impl Clone for LoggingAction
impl Clone for LoggingAction
Source§fn clone(&self) -> LoggingAction
fn clone(&self) -> LoggingAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoggingAction
impl RefUnwindSafe for LoggingAction
impl Send for LoggingAction
impl Sync for LoggingAction
impl Unpin for LoggingAction
impl UnwindSafe for LoggingAction
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