pub struct OpenAiWireOutputItem {
pub kind: String,
pub content: Vec<OpenAiContentPart>,
pub call_id: Option<String>,
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
Minimal Responses output item shape.
Fields§
§kind: StringProvider item type.
content: Vec<OpenAiContentPart>Message content parts.
call_id: Option<String>Function-call id.
name: Option<String>Function/tool name.
arguments: Option<String>Raw provider arguments. The adapter never puts this in summaries.
Implementations§
Trait Implementations§
Source§impl Clone for OpenAiWireOutputItem
impl Clone for OpenAiWireOutputItem
Source§fn clone(&self) -> OpenAiWireOutputItem
fn clone(&self) -> OpenAiWireOutputItem
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 OpenAiWireOutputItem
impl Debug for OpenAiWireOutputItem
Source§impl Default for OpenAiWireOutputItem
impl Default for OpenAiWireOutputItem
Source§fn default() -> OpenAiWireOutputItem
fn default() -> OpenAiWireOutputItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenAiWireOutputItem
impl<'de> Deserialize<'de> for OpenAiWireOutputItem
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 OpenAiWireOutputItem
impl PartialEq for OpenAiWireOutputItem
Source§fn eq(&self, other: &OpenAiWireOutputItem) -> bool
fn eq(&self, other: &OpenAiWireOutputItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenAiWireOutputItem
impl Serialize for OpenAiWireOutputItem
impl Eq for OpenAiWireOutputItem
impl StructuralPartialEq for OpenAiWireOutputItem
Auto Trait Implementations§
impl Freeze for OpenAiWireOutputItem
impl RefUnwindSafe for OpenAiWireOutputItem
impl Send for OpenAiWireOutputItem
impl Sync for OpenAiWireOutputItem
impl Unpin for OpenAiWireOutputItem
impl UnsafeUnpin for OpenAiWireOutputItem
impl UnwindSafe for OpenAiWireOutputItem
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