pub struct TrustConfig {
pub allow_python_tools: bool,
pub allow_embedder: bool,
pub allow_query_preprocessor: bool,
}Fields§
§allow_python_tools: bool§allow_embedder: bool§allow_query_preprocessor: boolAdvisory gate: the manifest declares that an extension-defined
query preprocessor hook is permitted to run. The framework does
not parse or execute the preprocessor itself — it lives in the
opaque extensions: passthrough — but downstream consumers
(e.g. kglite-mcp-server) read this flag and refuse to boot the
hook when it is false. Same pattern as allow_embedder.
Trait Implementations§
Source§impl Clone for TrustConfig
impl Clone for TrustConfig
Source§fn clone(&self) -> TrustConfig
fn clone(&self) -> TrustConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrustConfig
impl Debug for TrustConfig
Source§impl Default for TrustConfig
impl Default for TrustConfig
Source§fn default() -> TrustConfig
fn default() -> TrustConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrustConfig
impl RefUnwindSafe for TrustConfig
impl Send for TrustConfig
impl Sync for TrustConfig
impl Unpin for TrustConfig
impl UnsafeUnpin for TrustConfig
impl UnwindSafe for TrustConfig
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