pub struct SessionsOpenHandoff {
pub kind: SessionsOpenHandoffKind,
pub metadata: RemoteSessionMetadataValue,
pub options: Option<SessionOpenOptions>,
pub task_type: Option<SessionsOpenHandoffTaskType>,
/* private fields */
}Expand description
Parameters for fetching a remote session and handing it off to a new local 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: SessionsOpenHandoffKindFetch a remote session and hand it off to a new local session.
metadata: RemoteSessionMetadataValueRemote session metadata for the session to hand off (typically obtained from sessions.list with source: "remote").
options: Option<SessionOpenOptions>Session construction options for the new local session.
task_type: Option<SessionsOpenHandoffTaskType>Task type determines the handoff strategy (CCA fetches events; CLI prepares a transient session).
Trait Implementations§
Source§impl Clone for SessionsOpenHandoff
impl Clone for SessionsOpenHandoff
Source§fn clone(&self) -> SessionsOpenHandoff
fn clone(&self) -> SessionsOpenHandoff
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 Debug for SessionsOpenHandoff
impl Debug for SessionsOpenHandoff
Source§impl Default for SessionsOpenHandoff
impl Default for SessionsOpenHandoff
Source§fn default() -> SessionsOpenHandoff
fn default() -> SessionsOpenHandoff
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsOpenHandoff
impl<'de> Deserialize<'de> for SessionsOpenHandoff
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 SessionsOpenHandoff
impl RefUnwindSafe for SessionsOpenHandoff
impl Send for SessionsOpenHandoff
impl Sync for SessionsOpenHandoff
impl Unpin for SessionsOpenHandoff
impl UnsafeUnpin for SessionsOpenHandoff
impl UnwindSafe for SessionsOpenHandoff
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