pub enum PartDelta {
Text {
delta: String,
},
Reasoning {
delta: String,
},
ToolInput {
json: String,
},
}Expand description
An incremental update to a part under construction.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartDelta
impl<'de> Deserialize<'de> for PartDelta
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 StructuralPartialEq for PartDelta
Auto Trait Implementations§
impl Freeze for PartDelta
impl RefUnwindSafe for PartDelta
impl Send for PartDelta
impl Sync for PartDelta
impl Unpin for PartDelta
impl UnsafeUnpin for PartDelta
impl UnwindSafe for PartDelta
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