pub struct SessionPickerInfo {
pub session_id: String,
pub cwd: Option<String>,
pub relation: SessionRelation,
pub first_user_message: String,
pub user_message_count: usize,
}Expand description
Lightweight session info for the resume picker.
Fields§
§session_id: String§cwd: Option<String>§relation: SessionRelation§first_user_message: String§user_message_count: usizeImplementations§
Source§impl SessionPickerInfo
impl SessionPickerInfo
pub fn parent_session_id(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for SessionPickerInfo
impl Clone for SessionPickerInfo
Source§fn clone(&self) -> SessionPickerInfo
fn clone(&self) -> SessionPickerInfo
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 moreAuto Trait Implementations§
impl Freeze for SessionPickerInfo
impl RefUnwindSafe for SessionPickerInfo
impl Send for SessionPickerInfo
impl Sync for SessionPickerInfo
impl Unpin for SessionPickerInfo
impl UnsafeUnpin for SessionPickerInfo
impl UnwindSafe for SessionPickerInfo
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