#[repr(C)]pub struct _ddwaf_config {
pub limits: _ddwaf_config__ddwaf_config_limits,
pub obfuscator: _ddwaf_config__ddwaf_config_obfuscator,
pub free_fn: ddwaf_object_free_fn,
}
Expand description
@struct ddwaf_config
Configuration to be provided to the WAF
Fields§
§limits: _ddwaf_config__ddwaf_config_limits
§obfuscator: _ddwaf_config__ddwaf_config_obfuscator
§free_fn: ddwaf_object_free_fn
Function to free the ddwaf::object provided to the context during calls to ddwaf_run. If the value of this function is NULL, the objects will not be freed. The default value should be ddwaf_object_free.
Trait Implementations§
Source§impl Clone for _ddwaf_config
impl Clone for _ddwaf_config
Source§fn clone(&self) -> _ddwaf_config
fn clone(&self) -> _ddwaf_config
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 _ddwaf_config
impl Debug for _ddwaf_config
Source§impl Default for _ddwaf_config
impl Default for _ddwaf_config
impl Copy for _ddwaf_config
Auto Trait Implementations§
impl Freeze for _ddwaf_config
impl RefUnwindSafe for _ddwaf_config
impl !Send for _ddwaf_config
impl !Sync for _ddwaf_config
impl Unpin for _ddwaf_config
impl UnwindSafe for _ddwaf_config
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