pub struct SessionConfiguredEvent {
pub session_id: Uuid,
pub model: String,
pub history_log_id: u64,
pub history_entry_count: usize,
}
Fields§
§session_id: Uuid
Unique id for this session.
model: String
Tell the client what model is being queried.
history_log_id: u64
Identifier of the history log file (inode on Unix, 0 otherwise).
history_entry_count: usize
Current number of entries in the history log.
Trait Implementations§
Source§impl Clone for SessionConfiguredEvent
impl Clone for SessionConfiguredEvent
Source§fn clone(&self) -> SessionConfiguredEvent
fn clone(&self) -> SessionConfiguredEvent
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 SessionConfiguredEvent
impl Debug for SessionConfiguredEvent
Source§impl Default for SessionConfiguredEvent
impl Default for SessionConfiguredEvent
Source§fn default() -> SessionConfiguredEvent
fn default() -> SessionConfiguredEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionConfiguredEvent
impl<'de> Deserialize<'de> for SessionConfiguredEvent
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 SessionConfiguredEvent
impl RefUnwindSafe for SessionConfiguredEvent
impl Send for SessionConfiguredEvent
impl Sync for SessionConfiguredEvent
impl Unpin for SessionConfiguredEvent
impl UnwindSafe for SessionConfiguredEvent
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