pub struct MetadataSetWorkingDirectoryRequest {
pub working_directory: String,
}Expand description
Absolute path to set as the session’s new working directory. For local sessions the path must be absolute and exist on disk: it is validated before any session state changes, and a failing validation rejects the call with nothing mutated, persisted, or emitted. Remote sessions record the path as-is.
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: StringAbsolute path to set as the session’s working directory. The runtime updates the session’s recorded cwd so subsequent operations (shell tools, file lookups, telemetry) anchor to it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MetadataSetWorkingDirectoryRequest
impl<'de> Deserialize<'de> for MetadataSetWorkingDirectoryRequest
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 MetadataSetWorkingDirectoryRequest
impl RefUnwindSafe for MetadataSetWorkingDirectoryRequest
impl Send for MetadataSetWorkingDirectoryRequest
impl Sync for MetadataSetWorkingDirectoryRequest
impl Unpin for MetadataSetWorkingDirectoryRequest
impl UnsafeUnpin for MetadataSetWorkingDirectoryRequest
impl UnwindSafe for MetadataSetWorkingDirectoryRequest
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