pub struct SqlDynamicQueryCheck {
pub use_message_body_for_sql: bool,
pub allow_dynamic_query: bool,
}Expand description
ConfigCheck: SQL dynamic-query intent must match capability (H7).
If use_message_body_for_sql=true but allow_dynamic_query=false,
the operator intent (use body as query) is blocked by the capability
gate — this is a misconfiguration that would silently produce empty
queries. Fail closed at startup instead.
Fields§
§use_message_body_for_sql: bool§allow_dynamic_query: boolTrait Implementations§
Source§impl ConfigCheck for SqlDynamicQueryCheck
impl ConfigCheck for SqlDynamicQueryCheck
Auto Trait Implementations§
impl Freeze for SqlDynamicQueryCheck
impl RefUnwindSafe for SqlDynamicQueryCheck
impl Send for SqlDynamicQueryCheck
impl Sync for SqlDynamicQueryCheck
impl Unpin for SqlDynamicQueryCheck
impl UnsafeUnpin for SqlDynamicQueryCheck
impl UnwindSafe for SqlDynamicQueryCheck
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