pub struct SessionRecord {
pub session_id: String,
pub loop_id: Option<String>,
pub workspace_id: String,
pub user_id: String,
pub reset_count: u32,
pub messages: Vec<Value>,
}Expand description
Persisted session record.
Fields§
§session_id: StringApplication session id.
loop_id: Option<String>Bound loop id.
workspace_id: StringWorkspace id.
user_id: StringUser id.
reset_count: u32Reset counter.
messages: Vec<Value>Message log.
Trait Implementations§
Source§impl Clone for SessionRecord
impl Clone for SessionRecord
Source§fn clone(&self) -> SessionRecord
fn clone(&self) -> SessionRecord
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 Debug for SessionRecord
impl Debug for SessionRecord
Source§impl Default for SessionRecord
impl Default for SessionRecord
Source§fn default() -> SessionRecord
fn default() -> SessionRecord
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionRecord
impl RefUnwindSafe for SessionRecord
impl Send for SessionRecord
impl Sync for SessionRecord
impl Unpin for SessionRecord
impl UnsafeUnpin for SessionRecord
impl UnwindSafe for SessionRecord
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