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 ComposeSchema for ThinkingTextMessageContentEvent
Available on crate feature utoipa only.
impl ComposeSchema for ThinkingTextMessageContentEvent
Available on crate feature
utoipa only.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
Available on crate feature schemars only.
impl JsonSchema for ThinkingTextMessageContentEvent
Available on crate feature
schemars only.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 moreimpl StructuralPartialEq for ThinkingTextMessageContentEvent
Source§impl ToSchema for ThinkingTextMessageContentEvent
Available on crate feature utoipa only.
impl ToSchema for ThinkingTextMessageContentEvent
Available on crate feature
utoipa only.Auto Trait Implementations§
impl Forget for ThinkingTextMessageContentEvent
impl Freeze for ThinkingTextMessageContentEvent
impl Move 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