pub struct RemoteSessionMetadataValue {Show 14 fields
pub context: Option<SessionContext>,
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.
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