pub enum McpServerToolResultContentResult {
StructResult(Struct),
ContentList(FunctionResultSubcontentList),
StringResult(String),
}Expand description
The result oneof of McpServerToolResultContent, as an owned value.
Variants§
Trait Implementations§
Source§impl Clone for McpServerToolResultContentResult
impl Clone for McpServerToolResultContentResult
Source§fn clone(&self) -> McpServerToolResultContentResult
fn clone(&self) -> McpServerToolResultContentResult
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 moreimpl StructuralPartialEq for McpServerToolResultContentResult
Auto Trait Implementations§
impl Freeze for McpServerToolResultContentResult
impl RefUnwindSafe for McpServerToolResultContentResult
impl Send for McpServerToolResultContentResult
impl Sync for McpServerToolResultContentResult
impl Unpin for McpServerToolResultContentResult
impl UnsafeUnpin for McpServerToolResultContentResult
impl UnwindSafe for McpServerToolResultContentResult
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