pub struct OutputTextDeltaEvent {
pub sequence_number: u64,
pub item_id: String,
pub output_index: u32,
pub content_index: u32,
pub delta: String,
pub logprobs: Vec<Value>,
}Fields§
§sequence_number: u64§item_id: String§output_index: u32§content_index: u32§delta: String§logprobs: Vec<Value>Trait Implementations§
Source§impl Clone for OutputTextDeltaEvent
impl Clone for OutputTextDeltaEvent
Source§fn clone(&self) -> OutputTextDeltaEvent
fn clone(&self) -> OutputTextDeltaEvent
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 OutputTextDeltaEvent
impl Debug for OutputTextDeltaEvent
Source§impl<'de> Deserialize<'de> for OutputTextDeltaEvent
impl<'de> Deserialize<'de> for OutputTextDeltaEvent
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 OutputTextDeltaEvent
impl PartialEq for OutputTextDeltaEvent
Source§impl Serialize for OutputTextDeltaEvent
impl Serialize for OutputTextDeltaEvent
impl StructuralPartialEq for OutputTextDeltaEvent
Auto Trait Implementations§
impl Freeze for OutputTextDeltaEvent
impl RefUnwindSafe for OutputTextDeltaEvent
impl Send for OutputTextDeltaEvent
impl Sync for OutputTextDeltaEvent
impl Unpin for OutputTextDeltaEvent
impl UnsafeUnpin for OutputTextDeltaEvent
impl UnwindSafe for OutputTextDeltaEvent
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