pub struct RunGrant {
pub mcp: Vec<McpServer>,
pub env: Vec<(String, Secret<String>)>,
/* private fields */
}Expand description
Access to knowledge tools for one agent run. Dropping it revokes the access.
Fields§
§mcp: Vec<McpServer>MCP servers to give the agent.
env: Vec<(String, Secret<String>)>Environment variables carrying the run token.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RunGrant
impl !UnwindSafe for RunGrant
impl Freeze for RunGrant
impl Send for RunGrant
impl Sync for RunGrant
impl Unpin for RunGrant
impl UnsafeUnpin for RunGrant
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