pub struct SessionsOpenResumeLast {
pub context: Option<SessionContext>,
pub kind: SessionsOpenResumeLastKind,
pub options: Option<SessionOpenOptions>,
pub suppress_resume_workspace_metadata_writeback: Option<bool>,
}Expand description
Parameters for resuming the most relevant 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§
§context: Option<SessionContext>Working-directory context used to choose the most relevant session.
kind: SessionsOpenResumeLastKindResume the most relevant existing local session.
options: Option<SessionOpenOptions>Session resume options.
suppress_resume_workspace_metadata_writeback: Option<bool>Suppress workspace.yaml metadata writeback when resuming from an incidental cwd.
Trait Implementations§
Source§impl Clone for SessionsOpenResumeLast
impl Clone for SessionsOpenResumeLast
Source§fn clone(&self) -> SessionsOpenResumeLast
fn clone(&self) -> SessionsOpenResumeLast
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 SessionsOpenResumeLast
impl Debug for SessionsOpenResumeLast
Source§impl Default for SessionsOpenResumeLast
impl Default for SessionsOpenResumeLast
Source§fn default() -> SessionsOpenResumeLast
fn default() -> SessionsOpenResumeLast
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsOpenResumeLast
impl<'de> Deserialize<'de> for SessionsOpenResumeLast
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 SessionsOpenResumeLast
impl RefUnwindSafe for SessionsOpenResumeLast
impl Send for SessionsOpenResumeLast
impl Sync for SessionsOpenResumeLast
impl Unpin for SessionsOpenResumeLast
impl UnsafeUnpin for SessionsOpenResumeLast
impl UnwindSafe for SessionsOpenResumeLast
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