pub struct ChatContentDeltaEvent {
pub choice_index: u32,
pub delta: String,
}Expand description
表示聊天文本增量事件。
Fields§
§choice_index: u32候选索引。
delta: String文本增量。
Trait Implementations§
Source§impl Clone for ChatContentDeltaEvent
impl Clone for ChatContentDeltaEvent
Source§fn clone(&self) -> ChatContentDeltaEvent
fn clone(&self) -> ChatContentDeltaEvent
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 ChatContentDeltaEvent
impl Debug for ChatContentDeltaEvent
Source§impl<'de> Deserialize<'de> for ChatContentDeltaEvent
impl<'de> Deserialize<'de> for ChatContentDeltaEvent
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 ChatContentDeltaEvent
impl PartialEq for ChatContentDeltaEvent
Source§impl Serialize for ChatContentDeltaEvent
impl Serialize for ChatContentDeltaEvent
impl Eq for ChatContentDeltaEvent
impl StructuralPartialEq for ChatContentDeltaEvent
Auto Trait Implementations§
impl Freeze for ChatContentDeltaEvent
impl RefUnwindSafe for ChatContentDeltaEvent
impl Send for ChatContentDeltaEvent
impl Sync for ChatContentDeltaEvent
impl Unpin for ChatContentDeltaEvent
impl UnsafeUnpin for ChatContentDeltaEvent
impl UnwindSafe for ChatContentDeltaEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.