pub struct MetadataSetWorkingDirectoryResult {
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 MetadataSetWorkingDirectoryResult
impl Clone for MetadataSetWorkingDirectoryResult
Source§fn clone(&self) -> MetadataSetWorkingDirectoryResult
fn clone(&self) -> MetadataSetWorkingDirectoryResult
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 MetadataSetWorkingDirectoryResult
impl Default for MetadataSetWorkingDirectoryResult
Source§fn default() -> MetadataSetWorkingDirectoryResult
fn default() -> MetadataSetWorkingDirectoryResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataSetWorkingDirectoryResult
impl<'de> Deserialize<'de> for MetadataSetWorkingDirectoryResult
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 MetadataSetWorkingDirectoryResult
impl RefUnwindSafe for MetadataSetWorkingDirectoryResult
impl Send for MetadataSetWorkingDirectoryResult
impl Sync for MetadataSetWorkingDirectoryResult
impl Unpin for MetadataSetWorkingDirectoryResult
impl UnsafeUnpin for MetadataSetWorkingDirectoryResult
impl UnwindSafe for MetadataSetWorkingDirectoryResult
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