pub struct AgentTemplate {
pub meta: TemplateMeta,
pub agent: PartialAgentConfig,
}Expand description
A bundled or user-defined agent template.
Fields§
§meta: TemplateMeta§agent: PartialAgentConfigTrait Implementations§
Source§impl Clone for AgentTemplate
impl Clone for AgentTemplate
Source§fn clone(&self) -> AgentTemplate
fn clone(&self) -> AgentTemplate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentTemplate
impl Debug for AgentTemplate
Source§impl<'de> Deserialize<'de> for AgentTemplate
impl<'de> Deserialize<'de> for AgentTemplate
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 AgentTemplate
impl RefUnwindSafe for AgentTemplate
impl Send for AgentTemplate
impl Sync for AgentTemplate
impl Unpin for AgentTemplate
impl UnsafeUnpin for AgentTemplate
impl UnwindSafe for AgentTemplate
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