pub struct AgentMethod {
pub name: String,
pub description: String,
pub prompt_hint: Option<String>,
pub input_schema: DataSchema,
pub output_schema: DataSchema,
}Fields§
§name: String§description: String§prompt_hint: Option<String>§input_schema: DataSchema§output_schema: DataSchemaTrait Implementations§
Source§impl Clone for AgentMethod
impl Clone for AgentMethod
Source§fn clone(&self) -> AgentMethod
fn clone(&self) -> AgentMethod
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 moreAuto Trait Implementations§
impl Freeze for AgentMethod
impl RefUnwindSafe for AgentMethod
impl Send for AgentMethod
impl Sync for AgentMethod
impl Unpin for AgentMethod
impl UnwindSafe for AgentMethod
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