pub struct ConnectedRemoteSessionMetadata {
pub kind: ConnectedRemoteSessionMetadataKind,
pub modified_time: String,
pub name: Option<String>,
pub pull_request_number: Option<i64>,
pub repository: ConnectedRemoteSessionMetadataRepository,
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>,
}Expand description
Metadata for a connected remote 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§
§kind: ConnectedRemoteSessionMetadataKindNeutral SDK discriminator for the connected remote session kind.
modified_time: StringLast session update time as an ISO 8601 string.
name: Option<String>Optional friendly session name.
pull_request_number: Option<i64>Pull request number associated with the session.
repository: ConnectedRemoteSessionMetadataRepositoryRepository associated with the connected remote session.
resource_id: Option<String>Original remote resource identifier.
session_id: SessionIdSDK session ID for the connected remote session.
stale_at: Option<String>Remote session staleness deadline as an ISO 8601 string.
start_time: StringSession start time as an ISO 8601 string.
state: Option<String>Remote session state returned by the backing service.
summary: Option<String>Optional session summary.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ConnectedRemoteSessionMetadata
impl<'de> Deserialize<'de> for ConnectedRemoteSessionMetadata
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 ConnectedRemoteSessionMetadata
impl RefUnwindSafe for ConnectedRemoteSessionMetadata
impl Send for ConnectedRemoteSessionMetadata
impl Sync for ConnectedRemoteSessionMetadata
impl Unpin for ConnectedRemoteSessionMetadata
impl UnsafeUnpin for ConnectedRemoteSessionMetadata
impl UnwindSafe for ConnectedRemoteSessionMetadata
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