pub struct Content2 {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<'de> Deserialize<'de> for Content2
impl<'de> Deserialize<'de> for Content2
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
impl StructuralPartialEq for Content2
Auto Trait Implementations§
impl Freeze for Content2
impl RefUnwindSafe for Content2
impl Send for Content2
impl Sync for Content2
impl Unpin for Content2
impl UnsafeUnpin for Content2
impl UnwindSafe for Content2
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