#[non_exhaustive]pub enum KnownEventDelta {
Text {
text: String,
extra: JsonObject,
},
InputJson {
partial_json: String,
extra: JsonObject,
},
Citations {
citation: Box<Citation>,
extra: JsonObject,
},
Thinking {
estimated_tokens: Option<u64>,
thinking: String,
extra: JsonObject,
},
Signature {
signature: String,
extra: JsonObject,
},
Compaction {
content: String,
encrypted_content: String,
extra: JsonObject,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for KnownEventDelta
impl Clone for KnownEventDelta
Source§fn clone(&self) -> KnownEventDelta
fn clone(&self) -> KnownEventDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KnownEventDelta
impl Debug for KnownEventDelta
Source§impl<'de> Deserialize<'de> for KnownEventDelta
impl<'de> Deserialize<'de> for KnownEventDelta
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 KnownEventDelta
impl PartialEq for KnownEventDelta
Source§impl Serialize for KnownEventDelta
impl Serialize for KnownEventDelta
impl StructuralPartialEq for KnownEventDelta
Auto Trait Implementations§
impl Freeze for KnownEventDelta
impl RefUnwindSafe for KnownEventDelta
impl Send for KnownEventDelta
impl Sync for KnownEventDelta
impl Unpin for KnownEventDelta
impl UnsafeUnpin for KnownEventDelta
impl UnwindSafe for KnownEventDelta
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