pub struct SessionSummary {
pub running: Option<bool>,
pub project: Option<SessionProject>,
pub id: String,
pub title: String,
pub preview: String,
pub updated_at: String,
pub last_activity_at: Option<String>,
pub provider_id: String,
pub model_id: String,
pub workspace_root: Option<String>,
}Expand description
Saved-session list row (SessionSummary): denormalised so the picker
never parses entries.
Fields§
§running: Option<bool>§project: Option<SessionProject>§id: String§title: String§preview: String§updated_at: String§last_activity_at: Option<String>§provider_id: String§model_id: String§workspace_root: Option<String>Trait Implementations§
Source§impl Clone for SessionSummary
impl Clone for SessionSummary
Source§impl Debug for SessionSummary
impl Debug for SessionSummary
Source§impl<'de> Deserialize<'de> for SessionSummary
impl<'de> Deserialize<'de> for SessionSummary
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
Source§impl PartialEq for SessionSummary
impl PartialEq for SessionSummary
Source§impl Serialize for SessionSummary
impl Serialize for SessionSummary
impl StructuralPartialEq for SessionSummary
Auto Trait Implementations§
impl Forget for SessionSummary
impl Freeze for SessionSummary
impl Move for SessionSummary
impl RefUnwindSafe for SessionSummary
impl Send for SessionSummarywhere
RawVecInner: Send,
impl Sync for SessionSummarywhere
RawVecInner: Sync,
impl Unpin for SessionSummary
impl UnsafeUnpin for SessionSummarywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SessionSummarywhere
RawVecInner: UnwindSafe,
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