pub struct SqlObfuscation {
pub dbms: String,
pub dollar_quoted_func: bool,
pub keep_sql_alias: bool,
pub replace_digits: bool,
pub table_names: bool,
}Expand description
SQL obfuscation.
Fields§
§dbms: StringSQL dialect the obfuscator parses against.
dollar_quoted_func: boolWhether dollar-quoted function bodies are preserved.
keep_sql_alias: boolWhether column and table aliases are preserved.
replace_digits: boolWhether digits in identifiers are replaced with a placeholder.
table_names: boolWhether table names are collected as metadata.
Trait Implementations§
Source§impl Clone for SqlObfuscation
impl Clone for SqlObfuscation
Source§fn clone(&self) -> SqlObfuscation
fn clone(&self) -> SqlObfuscation
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 moreSource§impl Debug for SqlObfuscation
impl Debug for SqlObfuscation
Source§impl Default for SqlObfuscation
impl Default for SqlObfuscation
Source§fn default() -> SqlObfuscation
fn default() -> SqlObfuscation
Returns the “default value” for a type. Read more
Source§impl PartialEq for SqlObfuscation
impl PartialEq for SqlObfuscation
Source§impl Serialize for SqlObfuscation
impl Serialize for SqlObfuscation
impl StructuralPartialEq for SqlObfuscation
Auto Trait Implementations§
impl Freeze for SqlObfuscation
impl RefUnwindSafe for SqlObfuscation
impl Send for SqlObfuscation
impl Sync for SqlObfuscation
impl Unpin for SqlObfuscation
impl UnwindSafe for SqlObfuscation
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