pub struct ResponseTextDoneEvent {
pub content_index: f64,
pub item_id: String,
pub output_index: f64,
pub text: String,
pub type: TypeTrue,
}
Fields§
§content_index: f64
Index of the content part
item_id: String
ID of the output item
output_index: f64
Index of the output item
text: String
Complete text content
type: TypeTrue
Event type
Implementations§
Trait Implementations§
Source§impl Clone for ResponseTextDoneEvent
impl Clone for ResponseTextDoneEvent
Source§fn clone(&self) -> ResponseTextDoneEvent
fn clone(&self) -> ResponseTextDoneEvent
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 ResponseTextDoneEvent
impl Debug for ResponseTextDoneEvent
Source§impl Default for ResponseTextDoneEvent
impl Default for ResponseTextDoneEvent
Source§fn default() -> ResponseTextDoneEvent
fn default() -> ResponseTextDoneEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseTextDoneEvent
impl<'de> Deserialize<'de> for ResponseTextDoneEvent
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 ResponseTextDoneEvent
impl PartialEq for ResponseTextDoneEvent
Source§impl Serialize for ResponseTextDoneEvent
impl Serialize for ResponseTextDoneEvent
impl StructuralPartialEq for ResponseTextDoneEvent
Auto Trait Implementations§
impl Freeze for ResponseTextDoneEvent
impl RefUnwindSafe for ResponseTextDoneEvent
impl Send for ResponseTextDoneEvent
impl Sync for ResponseTextDoneEvent
impl Unpin for ResponseTextDoneEvent
impl UnwindSafe for ResponseTextDoneEvent
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