pub struct AgentConfigWithTools {
pub agent: AgentConfig,
pub resolved_tools: Vec<ToolDefinition>,
pub markdown: Option<String>,
pub cloud: AgentCloudMetadata,
}Fields§
§agent: AgentConfig§resolved_tools: Vec<ToolDefinition>§markdown: Option<String>§cloud: AgentCloudMetadataCloud-specific metadata (optional, only present in cloud responses)
Trait Implementations§
Source§impl Clone for AgentConfigWithTools
impl Clone for AgentConfigWithTools
Source§fn clone(&self) -> AgentConfigWithTools
fn clone(&self) -> AgentConfigWithTools
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 AgentConfigWithTools
impl Debug for AgentConfigWithTools
Source§impl<'de> Deserialize<'de> for AgentConfigWithTools
impl<'de> Deserialize<'de> for AgentConfigWithTools
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 AgentConfigWithTools
impl RefUnwindSafe for AgentConfigWithTools
impl Send for AgentConfigWithTools
impl Sync for AgentConfigWithTools
impl Unpin for AgentConfigWithTools
impl UnsafeUnpin for AgentConfigWithTools
impl UnwindSafe for AgentConfigWithTools
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