#[non_exhaustive]pub struct MoveFileRequest {
pub workspace: String,
pub path: String,
pub new_path: String,
/* private fields */
}Expand description
MoveFile 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 file’s full path including filename, relative to the workspace root.
new_path: StringRequired. The file’s new path including filename, relative to the workspace root.
Implementations§
Trait Implementations§
Source§impl Clone for MoveFileRequest
impl Clone for MoveFileRequest
Source§fn clone(&self) -> MoveFileRequest
fn clone(&self) -> MoveFileRequest
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 MoveFileRequest
impl Debug for MoveFileRequest
Source§impl Default for MoveFileRequest
impl Default for MoveFileRequest
Source§fn default() -> MoveFileRequest
fn default() -> MoveFileRequest
Returns the “default value” for a type. Read more
Source§impl Message for MoveFileRequest
impl Message for MoveFileRequest
Source§impl PartialEq for MoveFileRequest
impl PartialEq for MoveFileRequest
impl StructuralPartialEq for MoveFileRequest
Auto Trait Implementations§
impl Freeze for MoveFileRequest
impl RefUnwindSafe for MoveFileRequest
impl Send for MoveFileRequest
impl Sync for MoveFileRequest
impl Unpin for MoveFileRequest
impl UnwindSafe for MoveFileRequest
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