pub struct ThinkingStartEvent {
pub base: BaseEvent,
pub title: Option<String>,
}Expand description
Opens a thinking block.
Fields§
§base: BaseEventTimestamp and raw provider event.
title: Option<String>Heading to show above the block.
Implementations§
Trait Implementations§
Source§impl Clone for ThinkingStartEvent
impl Clone for ThinkingStartEvent
Source§fn clone(&self) -> ThinkingStartEvent
fn clone(&self) -> ThinkingStartEvent
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 ThinkingStartEvent
impl ComposeSchema for ThinkingStartEvent
Source§impl Debug for ThinkingStartEvent
impl Debug for ThinkingStartEvent
Source§impl Default for ThinkingStartEvent
impl Default for ThinkingStartEvent
Source§fn default() -> ThinkingStartEvent
fn default() -> ThinkingStartEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThinkingStartEvent
impl<'de> Deserialize<'de> for ThinkingStartEvent
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<ThinkingStartEvent> for Event
impl From<ThinkingStartEvent> for Event
Source§fn from(payload: ThinkingStartEvent) -> Self
fn from(payload: ThinkingStartEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ThinkingStartEvent
impl JsonSchema for ThinkingStartEvent
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 ThinkingStartEvent
impl PartialEq for ThinkingStartEvent
Source§fn eq(&self, other: &ThinkingStartEvent) -> bool
fn eq(&self, other: &ThinkingStartEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ThinkingStartEvent
impl Serialize for ThinkingStartEvent
impl StructuralPartialEq for ThinkingStartEvent
Auto Trait Implementations§
impl Freeze for ThinkingStartEvent
impl RefUnwindSafe for ThinkingStartEvent
impl Send for ThinkingStartEvent
impl Sync for ThinkingStartEvent
impl Unpin for ThinkingStartEvent
impl UnsafeUnpin for ThinkingStartEvent
impl UnwindSafe for ThinkingStartEvent
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