pub struct TransformTextTool {
pub text: String,
pub operation: String,
}Expand description
A text transformation tool
Fields§
§text: String§operation: StringImplementations§
Trait Implementations§
Source§impl Default for TransformTextTool
impl Default for TransformTextTool
Source§fn default() -> TransformTextTool
fn default() -> TransformTextTool
Returns the “default value” for a type. Read more
Source§impl Tool for TransformTextTool
impl Tool for TransformTextTool
Source§fn schema(&self) -> ToolSchema
fn schema(&self) -> ToolSchema
Get tool schema
Auto Trait Implementations§
impl Freeze for TransformTextTool
impl RefUnwindSafe for TransformTextTool
impl Send for TransformTextTool
impl Sync for TransformTextTool
impl Unpin for TransformTextTool
impl UnsafeUnpin for TransformTextTool
impl UnwindSafe for TransformTextTool
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