pub struct CreateChatStreamResponse {
pub id: String,
pub path: String,
pub delta: String,
}
Fields§
§id: String
This is the unique identifier for the streaming response.
path: String
This is the path to the content being updated. Format: chat.output[{contentIndex}].content
where contentIndex identifies the specific content item.
delta: String
This is the incremental content chunk being streamed.
Implementations§
Trait Implementations§
Source§impl Clone for CreateChatStreamResponse
impl Clone for CreateChatStreamResponse
Source§fn clone(&self) -> CreateChatStreamResponse
fn clone(&self) -> CreateChatStreamResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateChatStreamResponse
impl Debug for CreateChatStreamResponse
Source§impl Default for CreateChatStreamResponse
impl Default for CreateChatStreamResponse
Source§fn default() -> CreateChatStreamResponse
fn default() -> CreateChatStreamResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateChatStreamResponse
impl<'de> Deserialize<'de> for CreateChatStreamResponse
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 CreateChatStreamResponse
impl PartialEq for CreateChatStreamResponse
Source§impl Serialize for CreateChatStreamResponse
impl Serialize for CreateChatStreamResponse
impl StructuralPartialEq for CreateChatStreamResponse
Auto Trait Implementations§
impl Freeze for CreateChatStreamResponse
impl RefUnwindSafe for CreateChatStreamResponse
impl Send for CreateChatStreamResponse
impl Sync for CreateChatStreamResponse
impl Unpin for CreateChatStreamResponse
impl UnwindSafe for CreateChatStreamResponse
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