pub struct MetadataSnapshotRemoteMetadata {
pub pull_request_number: Option<i64>,
pub repository: MetadataSnapshotRemoteMetadataRepository,
pub resource_id: Option<String>,
pub task_type: Option<MetadataSnapshotRemoteMetadataTaskType>,
}Expand description
Remote-session-specific metadata. Populated only when isRemote is true. Fields are immutable for the lifetime of the session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§pull_request_number: Option<i64>The pull request number the remote session is associated with, if any.
repository: MetadataSnapshotRemoteMetadataRepositoryThe repository the remote session targets.
resource_id: Option<String>The original resource identifier (task ID or PR node ID), preserved across event-replay reconstructions. Falls back to sessionId when absent.
task_type: Option<MetadataSnapshotRemoteMetadataTaskType>Whether the remote task originated from Copilot Coding Agent (cca) or a CLI --remote invocation.
Trait Implementations§
Source§impl Clone for MetadataSnapshotRemoteMetadata
impl Clone for MetadataSnapshotRemoteMetadata
Source§fn clone(&self) -> MetadataSnapshotRemoteMetadata
fn clone(&self) -> MetadataSnapshotRemoteMetadata
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 MetadataSnapshotRemoteMetadata
impl Default for MetadataSnapshotRemoteMetadata
Source§fn default() -> MetadataSnapshotRemoteMetadata
fn default() -> MetadataSnapshotRemoteMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataSnapshotRemoteMetadata
impl<'de> Deserialize<'de> for MetadataSnapshotRemoteMetadata
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 MetadataSnapshotRemoteMetadata
impl RefUnwindSafe for MetadataSnapshotRemoteMetadata
impl Send for MetadataSnapshotRemoteMetadata
impl Sync for MetadataSnapshotRemoteMetadata
impl Unpin for MetadataSnapshotRemoteMetadata
impl UnsafeUnpin for MetadataSnapshotRemoteMetadata
impl UnwindSafe for MetadataSnapshotRemoteMetadata
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