pub struct RemoteSessionMetadataValue {Show 16 fields
pub context: Option<SessionContext>,
pub host_activity: Option<String>,
pub host_status: Option<RemoteSessionHostStatus>,
pub is_remote: bool,
pub modified_time: String,
pub name: Option<String>,
pub pull_request_number: Option<i64>,
pub remote_session_ids: Vec<String>,
pub repository: RemoteSessionMetadataRepository,
pub resource_id: Option<String>,
pub session_id: SessionId,
pub stale_at: Option<String>,
pub start_time: String,
pub state: Option<String>,
pub summary: Option<String>,
pub task_type: Option<RemoteSessionMetadataTaskType>,
}Expand description
Remote session metadata for the session to hand off (typically obtained from sessions.list with source: "remote").
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§context: Option<SessionContext>Most recent working directory context.
host_activity: Option<String>Host-supplied human description of what the session is doing right now (“running tests”, “waiting for approval”). Optional in the protocol and absent on hosts that do not publish it, so never rely on it – it enriches hostStatus, it does not replace it.
host_status: Option<RemoteSessionHostStatus>Live status as the owning host reports it in its session listing, so a row for a session running elsewhere can show that it is running. Absent for hosts that publish no such status (the cloud task managers), which read as idle.
is_remote: boolAlways true for remote sessions.
modified_time: StringLast-modified time as an ISO 8601 timestamp.
name: Option<String>Optional human-friendly name set via /rename.
pull_request_number: Option<i64>Pull request number associated with the session.
remote_session_ids: Vec<String>Backing remote session IDs (most recent first).
repository: RemoteSessionMetadataRepositoryGitHub repository the remote session belongs to.
resource_id: Option<String>Original remote resource identifier (task ID or PR node ID).
session_id: SessionIdStable session identifier.
stale_at: Option<String>Deadline (ISO 8601) at which a CLI remote session becomes stale without further heartbeats.
start_time: StringSession creation time as an ISO 8601 timestamp.
state: Option<String>Server-side task state returned by GitHub.
summary: Option<String>Short summary of the session, when one has been derived.
task_type: Option<RemoteSessionMetadataTaskType>Whether the remote task originated from CCA or CLI --remote.
Trait Implementations§
Source§impl Clone for RemoteSessionMetadataValue
impl Clone for RemoteSessionMetadataValue
Source§fn clone(&self) -> RemoteSessionMetadataValue
fn clone(&self) -> RemoteSessionMetadataValue
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more