pub struct PythonTool {
pub name: String,
pub python: String,
pub function: String,
pub description: Option<String>,
pub parameters: Option<Value>,
}Fields§
§name: String§python: String§function: String§description: Option<String>§parameters: Option<Value>Trait Implementations§
Source§impl Clone for PythonTool
impl Clone for PythonTool
Source§fn clone(&self) -> PythonTool
fn clone(&self) -> PythonTool
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 moreAuto Trait Implementations§
impl Freeze for PythonTool
impl RefUnwindSafe for PythonTool
impl Send for PythonTool
impl Sync for PythonTool
impl Unpin for PythonTool
impl UnsafeUnpin for PythonTool
impl UnwindSafe for PythonTool
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