pub struct GenerateStartEvent {
pub session_id: String,
pub prompt: String,
pub system_prompt: Option<String>,
pub model_provider: String,
pub model_name: String,
pub available_tools: Vec<String>,
}Expand description
Generate start event payload
Fields§
§session_id: StringSession ID
prompt: StringUser prompt
system_prompt: Option<String>System prompt (if any)
model_provider: StringModel provider
model_name: StringModel name
available_tools: Vec<String>Available tools
Trait Implementations§
Source§impl Clone for GenerateStartEvent
impl Clone for GenerateStartEvent
Source§fn clone(&self) -> GenerateStartEvent
fn clone(&self) -> GenerateStartEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 GenerateStartEvent
impl Debug for GenerateStartEvent
Source§impl<'de> Deserialize<'de> for GenerateStartEvent
impl<'de> Deserialize<'de> for GenerateStartEvent
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
Auto Trait Implementations§
impl Freeze for GenerateStartEvent
impl RefUnwindSafe for GenerateStartEvent
impl Send for GenerateStartEvent
impl Sync for GenerateStartEvent
impl Unpin for GenerateStartEvent
impl UnsafeUnpin for GenerateStartEvent
impl UnwindSafe for GenerateStartEvent
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