pub struct TRonConfig {
pub default_unknown_agent: DefaultAction,
pub default_unknown_tool: DefaultAction,
pub max_param_size_bytes: usize,
pub scan_payloads: bool,
pub analyze_patterns: bool,
}Expand description
Configuration for t-ron.
Fields§
§default_unknown_agent: DefaultActionDefault action for unknown agents.
default_unknown_tool: DefaultActionDefault action for unknown tools.
max_param_size_bytes: usizeMaximum parameter size in bytes.
scan_payloads: boolEnable payload scanning.
analyze_patterns: boolEnable pattern analysis.
Trait Implementations§
Source§impl Clone for TRonConfig
impl Clone for TRonConfig
Source§fn clone(&self) -> TRonConfig
fn clone(&self) -> TRonConfig
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 TRonConfig
impl Debug for TRonConfig
Source§impl Default for TRonConfig
impl Default for TRonConfig
Source§impl<'de> Deserialize<'de> for TRonConfig
impl<'de> Deserialize<'de> for TRonConfig
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 TRonConfig
impl RefUnwindSafe for TRonConfig
impl Send for TRonConfig
impl Sync for TRonConfig
impl Unpin for TRonConfig
impl UnsafeUnpin for TRonConfig
impl UnwindSafe for TRonConfig
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