pub struct SessionStartEvent {
pub session_id: String,
pub system_prompt: Option<String>,
pub model_provider: String,
pub model_name: String,
}Expand description
Session start event payload
Fields§
§session_id: StringSession ID
system_prompt: Option<String>System prompt (if any)
model_provider: StringModel configuration
model_name: StringTrait Implementations§
Source§impl Clone for SessionStartEvent
impl Clone for SessionStartEvent
Source§fn clone(&self) -> SessionStartEvent
fn clone(&self) -> SessionStartEvent
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 SessionStartEvent
impl Debug for SessionStartEvent
Source§impl<'de> Deserialize<'de> for SessionStartEvent
impl<'de> Deserialize<'de> for SessionStartEvent
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 SessionStartEvent
impl RefUnwindSafe for SessionStartEvent
impl Send for SessionStartEvent
impl Sync for SessionStartEvent
impl Unpin for SessionStartEvent
impl UnsafeUnpin for SessionStartEvent
impl UnwindSafe for SessionStartEvent
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