#[non_exhaustive]pub struct MoveDirectoryRequest {
pub workspace: String,
pub path: String,
pub new_path: String,
/* private fields */
}Expand description
MoveDirectory request message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workspace: StringRequired. The workspace’s name.
path: StringRequired. The directory’s full path including directory name, relative to the workspace root.
new_path: StringRequired. The new path for the directory including directory name, rooted at workspace root.
Implementations§
Trait Implementations§
Source§impl Clone for MoveDirectoryRequest
impl Clone for MoveDirectoryRequest
Source§fn clone(&self) -> MoveDirectoryRequest
fn clone(&self) -> MoveDirectoryRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 MoveDirectoryRequest
impl Debug for MoveDirectoryRequest
Source§impl Default for MoveDirectoryRequest
impl Default for MoveDirectoryRequest
Source§fn default() -> MoveDirectoryRequest
fn default() -> MoveDirectoryRequest
Returns the “default value” for a type. Read more
Source§impl Message for MoveDirectoryRequest
impl Message for MoveDirectoryRequest
Source§impl PartialEq for MoveDirectoryRequest
impl PartialEq for MoveDirectoryRequest
impl StructuralPartialEq for MoveDirectoryRequest
Auto Trait Implementations§
impl Freeze for MoveDirectoryRequest
impl RefUnwindSafe for MoveDirectoryRequest
impl Send for MoveDirectoryRequest
impl Sync for MoveDirectoryRequest
impl Unpin for MoveDirectoryRequest
impl UnwindSafe for MoveDirectoryRequest
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