pub struct FPRename {
pub volume_id: u16,
pub directory_id: u32,
pub path_type: PathType,
pub path: MacString,
pub new_name_path_type: PathType,
pub new_name: MacString,
}Expand description
FPRename: renames a file or directory within its current parent directory.
Wire layout (from buf[2..] — after command byte and pad): [0..2] VolumeID [2..6] DirectoryID (parent directory of the object) [6] PathType [7..] Path (Pascal string — identifies the object to rename) [7+path_len] NewNamePathType [7+path_len+1..] NewName (Pascal string — the new name)
Fields§
§volume_id: u16§directory_id: u32§path_type: PathType§path: MacString§new_name_path_type: PathType§new_name: MacStringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FPRename
impl RefUnwindSafe for FPRename
impl Send for FPRename
impl Sync for FPRename
impl Unpin for FPRename
impl UnsafeUnpin for FPRename
impl UnwindSafe for FPRename
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