pub struct AiConversationToolCallPart {
pub id: Option<String>,
pub type: Option<AiConversationPartType>,
pub metadata: Option<AiConversationPartMetadata>,
}Expand description
A tool call part in an AI conversation.
Fields§
§id: Option<String>The ID of the part.
type: Option<AiConversationPartType>The type of the part.
metadata: Option<AiConversationPartMetadata>The metadata of the part.
Trait Implementations§
Source§impl Clone for AiConversationToolCallPart
impl Clone for AiConversationToolCallPart
Source§fn clone(&self) -> AiConversationToolCallPart
fn clone(&self) -> AiConversationToolCallPart
Returns a duplicate of the value. Read more
1.0.0 · 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 AiConversationToolCallPart
impl Debug for AiConversationToolCallPart
Source§impl Default for AiConversationToolCallPart
impl Default for AiConversationToolCallPart
Source§fn default() -> AiConversationToolCallPart
fn default() -> AiConversationToolCallPart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiConversationToolCallPartwhere
AiConversationToolCallPart: Default,
impl<'de> Deserialize<'de> for AiConversationToolCallPartwhere
AiConversationToolCallPart: Default,
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
Auto Trait Implementations§
impl Freeze for AiConversationToolCallPart
impl RefUnwindSafe for AiConversationToolCallPart
impl Send for AiConversationToolCallPart
impl Sync for AiConversationToolCallPart
impl Unpin for AiConversationToolCallPart
impl UnsafeUnpin for AiConversationToolCallPart
impl UnwindSafe for AiConversationToolCallPart
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