pub struct Text<T>(pub T);Expand description
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> IntoToolResponse for Text<T>
impl<T> IntoToolResponse for Text<T>
Source§fn into_tool_response(self) -> CallToolResult
fn into_tool_response(self) -> CallToolResult
Convert this type into a
CallToolResultAuto Trait Implementations§
impl<T> Freeze for Text<T>where
T: Freeze,
impl<T> RefUnwindSafe for Text<T>where
T: RefUnwindSafe,
impl<T> Send for Text<T>where
T: Send,
impl<T> Sync for Text<T>where
T: Sync,
impl<T> Unpin for Text<T>where
T: Unpin,
impl<T> UnsafeUnpin for Text<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Text<T>where
T: UnwindSafe,
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