pub enum PartDelta {
    Text(TextPartDelta),
    ToolCall(ToolCallPartDelta),
    Image(ImagePartDelta),
    Audio(AudioPartDelta),
    Reasoning(ReasoningPartDelta),
}Expand description
Delta parts used in partial updates.
Variants§
Text(TextPartDelta)
ToolCall(ToolCallPartDelta)
Image(ImagePartDelta)
Audio(AudioPartDelta)
Reasoning(ReasoningPartDelta)
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 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