pub struct EntryCodecConfig {
pub masking: EntryMasking,
pub map_comment_context: Option<fn(HashMap<Bytes, Bytes>) -> Option<SqlStatementContext>>,
}
Expand description
Struct to pass along configuration values to codec
Fields§
§masking: EntryMasking
type of masking to use when parsing SQL
map_comment_context: Option<fn(HashMap<Bytes, Bytes>) -> Option<SqlStatementContext>>
mapping function in order to find specific key entries
Trait Implementations§
Source§impl Clone for EntryCodecConfig
impl Clone for EntryCodecConfig
Source§fn clone(&self) -> EntryCodecConfig
fn clone(&self) -> EntryCodecConfig
Returns a copy 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 EntryCodecConfig
impl Debug for EntryCodecConfig
Source§impl Default for EntryCodecConfig
impl Default for EntryCodecConfig
Source§fn default() -> EntryCodecConfig
fn default() -> EntryCodecConfig
Returns the “default value” for a type. Read more
impl Copy for EntryCodecConfig
Auto Trait Implementations§
impl Freeze for EntryCodecConfig
impl RefUnwindSafe for EntryCodecConfig
impl Send for EntryCodecConfig
impl Sync for EntryCodecConfig
impl Unpin for EntryCodecConfig
impl UnwindSafe for EntryCodecConfig
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