pub enum TextDeltaKind {
Text,
Reasoning,
}Expand description
Which stream a text continuation belongs to. The host labels every
delta with the entry it grows, so a client never infers it from the
index; an older host that predates the field reads as text.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TextDeltaKind
impl Clone for TextDeltaKind
impl Copy for TextDeltaKind
Source§impl Debug for TextDeltaKind
impl Debug for TextDeltaKind
Source§impl Default for TextDeltaKind
impl Default for TextDeltaKind
Source§impl<'de> Deserialize<'de> for TextDeltaKind
impl<'de> Deserialize<'de> for TextDeltaKind
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
impl Eq for TextDeltaKind
Source§impl PartialEq for TextDeltaKind
impl PartialEq for TextDeltaKind
Source§impl Serialize for TextDeltaKind
impl Serialize for TextDeltaKind
impl StructuralPartialEq for TextDeltaKind
Auto Trait Implementations§
impl Forget for TextDeltaKind
impl Freeze for TextDeltaKind
impl Move for TextDeltaKind
impl RefUnwindSafe for TextDeltaKind
impl Send for TextDeltaKind
impl Sync for TextDeltaKind
impl Unpin for TextDeltaKind
impl UnsafeUnpin for TextDeltaKind
impl UnwindSafe for TextDeltaKind
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