pub struct AgentRuntime<'runtime> {
pub chat: &'runtime dyn AgentChat,
pub manager: &'runtime mut Manager,
pub grants: &'runtime mut SessionGrants,
pub approver: Option<&'runtime dyn ToolApprover>,
pub workspace_id: Option<&'runtime str>,
pub max_steps: usize,
}Fields§
§chat: &'runtime dyn AgentChat§manager: &'runtime mut Manager§grants: &'runtime mut SessionGrants§approver: Option<&'runtime dyn ToolApprover>§workspace_id: Option<&'runtime str>§max_steps: usizeAuto Trait Implementations§
impl<'runtime> !RefUnwindSafe for AgentRuntime<'runtime>
impl<'runtime> !UnwindSafe for AgentRuntime<'runtime>
impl<'runtime> Freeze for AgentRuntime<'runtime>
impl<'runtime> Send for AgentRuntime<'runtime>
impl<'runtime> Sync for AgentRuntime<'runtime>
impl<'runtime> Unpin for AgentRuntime<'runtime>
impl<'runtime> UnsafeUnpin for AgentRuntime<'runtime>
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