pub struct AgentHook {
pub prompt: String,
pub timeout: Option<u64>,
pub model: Option<String>,
}Expand description
Represents an agent hook configuration
Fields§
§prompt: StringThe prompt to send to the agent
timeout: Option<u64>Optional timeout in seconds
model: Option<String>Optional model override
Auto Trait Implementations§
impl Freeze for AgentHook
impl RefUnwindSafe for AgentHook
impl Send for AgentHook
impl Sync for AgentHook
impl Unpin for AgentHook
impl UnsafeUnpin for AgentHook
impl UnwindSafe for AgentHook
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