pub struct ConnectorResult {
pub content: Vec<ConnectorContent>,
pub is_error: bool,
pub raw: Value,
}Expand description
A tools/call result.
Fields§
§content: Vec<ConnectorContent>§is_error: bool§raw: ValueThe CallToolResult as sent (null if unknown), for MCP Apps.
Implementations§
Trait Implementations§
Source§impl Clone for ConnectorResult
impl Clone for ConnectorResult
Source§impl Debug for ConnectorResult
impl Debug for ConnectorResult
Source§impl Default for ConnectorResult
impl Default for ConnectorResult
impl Eq for ConnectorResult
Source§impl PartialEq for ConnectorResult
impl PartialEq for ConnectorResult
impl StructuralPartialEq for ConnectorResult
Auto Trait Implementations§
impl Forget for ConnectorResult
impl Freeze for ConnectorResultwhere
*const u8 is !null: Freeze,
PhantomData<ConnectorContent>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ConnectorResult
impl RefUnwindSafe for ConnectorResult
impl Send for ConnectorResult
impl Sync for ConnectorResult
impl Unpin for ConnectorResult
impl UnsafeUnpin for ConnectorResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ConnectorContent>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ConnectorResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.