pub struct SqlOptionRedaction {
pub keywords: HashSet<String>,
pub allowlist: HashSet<String>,
}Expand description
Case-insensitive SQL option redaction with exact-name exemptions.
Fields§
§keywords: HashSet<String>§allowlist: HashSet<String>Implementations§
Source§impl SqlOptionRedaction
impl SqlOptionRedaction
pub fn new( keywords: impl IntoIterator<Item = String>, allowlist: impl IntoIterator<Item = String>, ) -> Self
Trait Implementations§
Source§impl Debug for SqlOptionRedaction
impl Debug for SqlOptionRedaction
Source§impl Default for SqlOptionRedaction
impl Default for SqlOptionRedaction
Source§fn default() -> SqlOptionRedaction
fn default() -> SqlOptionRedaction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SqlOptionRedaction
impl RefUnwindSafe for SqlOptionRedaction
impl Send for SqlOptionRedaction
impl Sync for SqlOptionRedaction
impl Unpin for SqlOptionRedaction
impl UnsafeUnpin for SqlOptionRedaction
impl UnwindSafe for SqlOptionRedaction
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more