pub enum DeltaContentBlock {
TextDelta {
text: String,
},
InputJsonDelta {
partial_json: String,
},
ThinkingDelta {
thinking: String,
},
SignatureDelta {
signature: String,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DeltaContentBlock
impl Clone for DeltaContentBlock
Source§fn clone(&self) -> DeltaContentBlock
fn clone(&self) -> DeltaContentBlock
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 DeltaContentBlock
impl Debug for DeltaContentBlock
Source§impl<'de> Deserialize<'de> for DeltaContentBlock
impl<'de> Deserialize<'de> for DeltaContentBlock
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 DeltaContentBlock
impl PartialEq for DeltaContentBlock
Source§impl Serialize for DeltaContentBlock
impl Serialize for DeltaContentBlock
impl StructuralPartialEq for DeltaContentBlock
Auto Trait Implementations§
impl Freeze for DeltaContentBlock
impl RefUnwindSafe for DeltaContentBlock
impl Send for DeltaContentBlock
impl Sync for DeltaContentBlock
impl Unpin for DeltaContentBlock
impl UnwindSafe for DeltaContentBlock
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