pub enum OrderedContentPart {
Text(String),
Thinking(String),
ToolCall {
id: String,
name: String,
arguments: Value,
metadata: Option<Value>,
},
}Variants§
Trait Implementations§
Source§impl Clone for OrderedContentPart
impl Clone for OrderedContentPart
Source§fn clone(&self) -> OrderedContentPart
fn clone(&self) -> OrderedContentPart
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 OrderedContentPart
impl Debug for OrderedContentPart
Source§impl PartialEq for OrderedContentPart
impl PartialEq for OrderedContentPart
impl StructuralPartialEq for OrderedContentPart
Auto Trait Implementations§
impl Freeze for OrderedContentPart
impl RefUnwindSafe for OrderedContentPart
impl Send for OrderedContentPart
impl Sync for OrderedContentPart
impl Unpin for OrderedContentPart
impl UnsafeUnpin for OrderedContentPart
impl UnwindSafe for OrderedContentPart
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