pub struct OutputContentChunks {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 OutputContentChunks
impl Clone for OutputContentChunks
Source§fn clone(&self) -> OutputContentChunks
fn clone(&self) -> OutputContentChunks
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 OutputContentChunks
impl Debug for OutputContentChunks
Source§impl Default for OutputContentChunks
impl Default for OutputContentChunks
Source§fn default() -> OutputContentChunks
fn default() -> OutputContentChunks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputContentChunks
impl<'de> Deserialize<'de> for OutputContentChunks
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 OutputContentChunks
impl PartialEq for OutputContentChunks
Source§impl Serialize for OutputContentChunks
impl Serialize for OutputContentChunks
impl StructuralPartialEq for OutputContentChunks
Auto Trait Implementations§
impl Freeze for OutputContentChunks
impl RefUnwindSafe for OutputContentChunks
impl Send for OutputContentChunks
impl Sync for OutputContentChunks
impl Unpin for OutputContentChunks
impl UnsafeUnpin for OutputContentChunks
impl UnwindSafe for OutputContentChunks
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