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§impl ComposeSchema for ThinkingStartEvent
Available on crate feature utoipa only.
impl ComposeSchema for ThinkingStartEvent
Available on crate feature
utoipa only.Source§impl Debug for ThinkingStartEvent
impl Debug for ThinkingStartEvent
Source§impl Default for ThinkingStartEvent
impl Default for ThinkingStartEvent
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
Available on crate feature schemars only.
impl JsonSchema for ThinkingStartEvent
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 moreSource§impl PartialEq for ThinkingStartEvent
impl PartialEq for ThinkingStartEvent
Source§impl Serialize for ThinkingStartEvent
impl Serialize for ThinkingStartEvent
impl StructuralPartialEq for ThinkingStartEvent
Auto Trait Implementations§
impl Forget for ThinkingStartEvent
impl Freeze for ThinkingStartEvent
impl Move 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