pub struct McpServerToolCallContent {
pub name: Option<String>,
pub server_name: Option<String>,
pub arguments: Option<Struct>,
}Expand description
genai.McpServerToolCallContent
Fields§
§name: Option<String>§server_name: Option<String>§arguments: Option<Struct>Trait Implementations§
Source§impl Clone for McpServerToolCallContent
impl Clone for McpServerToolCallContent
Source§fn clone(&self) -> McpServerToolCallContent
fn clone(&self) -> McpServerToolCallContent
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 moreSource§impl Debug for McpServerToolCallContent
impl Debug for McpServerToolCallContent
Source§impl Default for McpServerToolCallContent
impl Default for McpServerToolCallContent
Source§fn default() -> McpServerToolCallContent
fn default() -> McpServerToolCallContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpServerToolCallContent
impl<'de> Deserialize<'de> for McpServerToolCallContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for McpServerToolCallContent
impl PartialEq for McpServerToolCallContent
Source§impl Serialize for McpServerToolCallContent
impl Serialize for McpServerToolCallContent
impl StructuralPartialEq for McpServerToolCallContent
Auto Trait Implementations§
impl Freeze for McpServerToolCallContent
impl RefUnwindSafe for McpServerToolCallContent
impl Send for McpServerToolCallContent
impl Sync for McpServerToolCallContent
impl Unpin for McpServerToolCallContent
impl UnsafeUnpin for McpServerToolCallContent
impl UnwindSafe for McpServerToolCallContent
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