pub struct MessageOutputContentChunksInner {Show 15 fields
pub type: Option<Type>,
pub text: String,
pub image_url: Box<ImageUrl>,
pub tool: Box<Tool1>,
pub file_id: String,
pub file_name: Option<String>,
pub file_type: Option<String>,
pub document_url: String,
pub document_name: Option<String>,
pub thinking: Vec<ThinkingInner>,
pub closed: Option<bool>,
pub title: String,
pub url: Option<String>,
pub favicon: Option<String>,
pub description: Option<String>,
}Fields§
§type: Option<Type>§text: String§image_url: Box<ImageUrl>§tool: Box<Tool1>§file_id: String§file_name: Option<String>§file_type: Option<String>§document_url: String§document_name: Option<String>§thinking: Vec<ThinkingInner>§closed: Option<bool>Whether the thinking chunk is closed or not. Currently only used for prefixing.
title: String§url: Option<String>§favicon: Option<String>§description: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MessageOutputContentChunksInner
impl Clone for MessageOutputContentChunksInner
Source§fn clone(&self) -> MessageOutputContentChunksInner
fn clone(&self) -> MessageOutputContentChunksInner
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 Default for MessageOutputContentChunksInner
impl Default for MessageOutputContentChunksInner
Source§fn default() -> MessageOutputContentChunksInner
fn default() -> MessageOutputContentChunksInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageOutputContentChunksInner
impl<'de> Deserialize<'de> for MessageOutputContentChunksInner
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 MessageOutputContentChunksInner
impl PartialEq for MessageOutputContentChunksInner
Source§fn eq(&self, other: &MessageOutputContentChunksInner) -> bool
fn eq(&self, other: &MessageOutputContentChunksInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageOutputContentChunksInner
Auto Trait Implementations§
impl Freeze for MessageOutputContentChunksInner
impl RefUnwindSafe for MessageOutputContentChunksInner
impl Send for MessageOutputContentChunksInner
impl Sync for MessageOutputContentChunksInner
impl Unpin for MessageOutputContentChunksInner
impl UnsafeUnpin for MessageOutputContentChunksInner
impl UnwindSafe for MessageOutputContentChunksInner
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