pub struct CacheObfuscation {
pub enabled: bool,
pub remove_all_args: bool,
}Expand description
Obfuscation shape shared by the key/value caches (redis, valkey).
Fields§
§enabled: boolWhether cache commands are obfuscated.
remove_all_args: boolWhether all command arguments are removed.
Trait Implementations§
Source§impl Clone for CacheObfuscation
impl Clone for CacheObfuscation
Source§fn clone(&self) -> CacheObfuscation
fn clone(&self) -> CacheObfuscation
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 CacheObfuscation
impl Debug for CacheObfuscation
Source§impl Default for CacheObfuscation
impl Default for CacheObfuscation
Source§fn default() -> CacheObfuscation
fn default() -> CacheObfuscation
Returns the “default value” for a type. Read more
Source§impl PartialEq for CacheObfuscation
impl PartialEq for CacheObfuscation
Source§impl Serialize for CacheObfuscation
impl Serialize for CacheObfuscation
impl StructuralPartialEq for CacheObfuscation
Auto Trait Implementations§
impl Freeze for CacheObfuscation
impl RefUnwindSafe for CacheObfuscation
impl Send for CacheObfuscation
impl Sync for CacheObfuscation
impl Unpin for CacheObfuscation
impl UnwindSafe for CacheObfuscation
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