pub struct AgenticParseConfig {
pub enabled: bool,
pub default_strategy: String,
pub max_chars: usize,
}Expand description
Default configuration for the built-in agentic_parse tool.
Fields§
§enabled: boolWhether the tool is registered by default.
default_strategy: StringDefault parse strategy when tool input omits strategy.
max_chars: usizeDefault maximum characters sent to the LLM when tool input omits max_chars.
Implementations§
Source§impl AgenticParseConfig
impl AgenticParseConfig
pub fn normalized(&self) -> Self
Trait Implementations§
Source§impl Clone for AgenticParseConfig
impl Clone for AgenticParseConfig
Source§fn clone(&self) -> AgenticParseConfig
fn clone(&self) -> AgenticParseConfig
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 AgenticParseConfig
impl Debug for AgenticParseConfig
Source§impl Default for AgenticParseConfig
impl Default for AgenticParseConfig
Source§impl<'de> Deserialize<'de> for AgenticParseConfig
impl<'de> Deserialize<'de> for AgenticParseConfig
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 AgenticParseConfig
impl RefUnwindSafe for AgenticParseConfig
impl Send for AgenticParseConfig
impl Sync for AgenticParseConfig
impl Unpin for AgenticParseConfig
impl UnsafeUnpin for AgenticParseConfig
impl UnwindSafe for AgenticParseConfig
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