pub struct SessionMetadataSnapshotResultWorkspace {
pub branch: Option<String>,
pub created_at: Option<String>,
pub cwd: Option<String>,
pub git_root: Option<String>,
pub host_type: Option<WorkspaceSummaryHostType>,
pub id: String,
pub name: Option<String>,
pub repository: Option<String>,
pub updated_at: Option<String>,
pub user_named: Option<bool>,
}Expand description
Public-facing projection of workspace metadata for SDK / TUI consumers
Fields§
§branch: Option<String>Branch checked out at session start, if any
created_at: Option<String>ISO 8601 timestamp when the workspace was created
cwd: Option<String>Current working directory at session start
git_root: Option<String>Resolved git root for cwd, if any
host_type: Option<WorkspaceSummaryHostType>Repository host type, if known
id: StringWorkspace identifier (1:1 with sessionId)
name: Option<String>Display name for the session, if set
repository: Option<String>Repository identifier in ‘owner/repo’ or ‘org/project/repo’ format, if any
updated_at: Option<String>ISO 8601 timestamp when the workspace was last updated
user_named: Option<bool>Whether the display name was explicitly set by the user
Trait Implementations§
Source§impl Clone for SessionMetadataSnapshotResultWorkspace
impl Clone for SessionMetadataSnapshotResultWorkspace
Source§fn clone(&self) -> SessionMetadataSnapshotResultWorkspace
fn clone(&self) -> SessionMetadataSnapshotResultWorkspace
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 Default for SessionMetadataSnapshotResultWorkspace
impl Default for SessionMetadataSnapshotResultWorkspace
Source§fn default() -> SessionMetadataSnapshotResultWorkspace
fn default() -> SessionMetadataSnapshotResultWorkspace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionMetadataSnapshotResultWorkspace
impl<'de> Deserialize<'de> for SessionMetadataSnapshotResultWorkspace
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 SessionMetadataSnapshotResultWorkspace
impl RefUnwindSafe for SessionMetadataSnapshotResultWorkspace
impl Send for SessionMetadataSnapshotResultWorkspace
impl Sync for SessionMetadataSnapshotResultWorkspace
impl Unpin for SessionMetadataSnapshotResultWorkspace
impl UnsafeUnpin for SessionMetadataSnapshotResultWorkspace
impl UnwindSafe for SessionMetadataSnapshotResultWorkspace
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