pub struct WorkspacesRemovePathRequest {
pub force: Option<bool>,
pub path: String,
pub recursive: Option<bool>,
}Expand description
File or directory to remove from the session workspace files directory.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§force: Option<bool>Whether a missing path should be treated as success. Defaults to false.
path: StringSlash-separated relative path within the workspace files directory
recursive: Option<bool>Whether to remove directory contents recursively. Defaults to false.
Trait Implementations§
Source§impl Clone for WorkspacesRemovePathRequest
impl Clone for WorkspacesRemovePathRequest
Source§impl Debug for WorkspacesRemovePathRequest
impl Debug for WorkspacesRemovePathRequest
Source§impl<'de> Deserialize<'de> for WorkspacesRemovePathRequest
impl<'de> Deserialize<'de> for WorkspacesRemovePathRequest
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 WorkspacesRemovePathRequest
impl RefUnwindSafe for WorkspacesRemovePathRequest
impl Send for WorkspacesRemovePathRequest
impl Sync for WorkspacesRemovePathRequest
impl Unpin for WorkspacesRemovePathRequest
impl UnsafeUnpin for WorkspacesRemovePathRequest
impl UnwindSafe for WorkspacesRemovePathRequest
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