pub struct ResponseOutputTextDeltaEvent {
pub delta: Option<String>,
pub response_id: Option<String>,
pub item_id: Option<String>,
pub raw: WebSocketServerEvent,
}Available on crate features
realtime or responses-ws only.Expand description
表示输出文本增量事件。
Fields§
§delta: Option<String>文本增量。
response_id: Option<String>响应 ID。
item_id: Option<String>输出项 ID。
raw: WebSocketServerEvent原始事件。
Trait Implementations§
Source§impl Clone for ResponseOutputTextDeltaEvent
impl Clone for ResponseOutputTextDeltaEvent
Source§fn clone(&self) -> ResponseOutputTextDeltaEvent
fn clone(&self) -> ResponseOutputTextDeltaEvent
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 ResponseOutputTextDeltaEvent
impl Debug for ResponseOutputTextDeltaEvent
Source§impl PartialEq for ResponseOutputTextDeltaEvent
impl PartialEq for ResponseOutputTextDeltaEvent
Source§fn eq(&self, other: &ResponseOutputTextDeltaEvent) -> bool
fn eq(&self, other: &ResponseOutputTextDeltaEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseOutputTextDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseOutputTextDeltaEvent
impl RefUnwindSafe for ResponseOutputTextDeltaEvent
impl Send for ResponseOutputTextDeltaEvent
impl Sync for ResponseOutputTextDeltaEvent
impl Unpin for ResponseOutputTextDeltaEvent
impl UnsafeUnpin for ResponseOutputTextDeltaEvent
impl UnwindSafe for ResponseOutputTextDeltaEvent
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