pub struct SessionMetadataSetWorkingDirectoryResult {
pub working_directory: String,
}Expand description
Update the session’s working directory. Used by the host when the user explicitly changes cwd (e.g., the /cd slash command). The host is responsible for process.chdir and any related side-effects (file index, etc.); this method only updates the session’s own recorded path.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§working_directory: StringWorking directory after the update
Trait Implementations§
Source§impl Clone for SessionMetadataSetWorkingDirectoryResult
impl Clone for SessionMetadataSetWorkingDirectoryResult
Source§fn clone(&self) -> SessionMetadataSetWorkingDirectoryResult
fn clone(&self) -> SessionMetadataSetWorkingDirectoryResult
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 SessionMetadataSetWorkingDirectoryResult
impl Default for SessionMetadataSetWorkingDirectoryResult
Source§fn default() -> SessionMetadataSetWorkingDirectoryResult
fn default() -> SessionMetadataSetWorkingDirectoryResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionMetadataSetWorkingDirectoryResult
impl<'de> Deserialize<'de> for SessionMetadataSetWorkingDirectoryResult
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 SessionMetadataSetWorkingDirectoryResult
impl RefUnwindSafe for SessionMetadataSetWorkingDirectoryResult
impl Send for SessionMetadataSetWorkingDirectoryResult
impl Sync for SessionMetadataSetWorkingDirectoryResult
impl Unpin for SessionMetadataSetWorkingDirectoryResult
impl UnsafeUnpin for SessionMetadataSetWorkingDirectoryResult
impl UnwindSafe for SessionMetadataSetWorkingDirectoryResult
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