pub struct SqlFirewallConfig {
pub allow_comments: bool,
pub max_query_length: usize,
pub max_subquery_depth: u32,
pub blocked_functions: Vec<String>,
pub blocked_schemas: Vec<String>,
}Fields§
§allow_comments: bool§max_query_length: usize§max_subquery_depth: u32§blocked_functions: Vec<String>§blocked_schemas: Vec<String>Trait Implementations§
Source§impl Clone for SqlFirewallConfig
impl Clone for SqlFirewallConfig
Source§fn clone(&self) -> SqlFirewallConfig
fn clone(&self) -> SqlFirewallConfig
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 SqlFirewallConfig
impl Debug for SqlFirewallConfig
Source§impl Default for SqlFirewallConfig
impl Default for SqlFirewallConfig
Source§impl<'de> Deserialize<'de> for SqlFirewallConfig
impl<'de> Deserialize<'de> for SqlFirewallConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SqlFirewallConfig
impl RefUnwindSafe for SqlFirewallConfig
impl Send for SqlFirewallConfig
impl Sync for SqlFirewallConfig
impl Unpin for SqlFirewallConfig
impl UnsafeUnpin for SqlFirewallConfig
impl UnwindSafe for SqlFirewallConfig
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