pub struct ThinkingTextMessageContentEvent {
pub base: BaseEvent,
pub delta: String,
}Expand description
Appends a chunk of thinking text.
Unlike its replacement it carries no message id — a thinking block could only ever have one message in flight, which is why the event was replaced.
Fields§
§base: BaseEventTimestamp and raw provider event.
delta: StringThe text to append.
Implementations§
Trait Implementations§
Source§impl Clone for ThinkingTextMessageContentEvent
impl Clone for ThinkingTextMessageContentEvent
Source§fn clone(&self) -> ThinkingTextMessageContentEvent
fn clone(&self) -> ThinkingTextMessageContentEvent
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 ComposeSchema for ThinkingTextMessageContentEvent
impl ComposeSchema for ThinkingTextMessageContentEvent
Source§impl Default for ThinkingTextMessageContentEvent
impl Default for ThinkingTextMessageContentEvent
Source§fn default() -> ThinkingTextMessageContentEvent
fn default() -> ThinkingTextMessageContentEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThinkingTextMessageContentEvent
impl<'de> Deserialize<'de> for ThinkingTextMessageContentEvent
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 From<ThinkingTextMessageContentEvent> for Event
impl From<ThinkingTextMessageContentEvent> for Event
Source§fn from(payload: ThinkingTextMessageContentEvent) -> Self
fn from(payload: ThinkingTextMessageContentEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ThinkingTextMessageContentEvent
impl JsonSchema for ThinkingTextMessageContentEvent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ThinkingTextMessageContentEvent
impl PartialEq for ThinkingTextMessageContentEvent
Source§fn eq(&self, other: &ThinkingTextMessageContentEvent) -> bool
fn eq(&self, other: &ThinkingTextMessageContentEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThinkingTextMessageContentEvent
Auto Trait Implementations§
impl Freeze for ThinkingTextMessageContentEvent
impl RefUnwindSafe for ThinkingTextMessageContentEvent
impl Send for ThinkingTextMessageContentEvent
impl Sync for ThinkingTextMessageContentEvent
impl Unpin for ThinkingTextMessageContentEvent
impl UnsafeUnpin for ThinkingTextMessageContentEvent
impl UnwindSafe for ThinkingTextMessageContentEvent
Blanket Implementations§
impl<T> AgentState for T
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