#[non_exhaustive]pub struct DiskPath {
pub partition_uuid: String,
pub relative_path: String,
/* private fields */
}Expand description
Path of the file in terms of underlying disk/partition identifiers.
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.partition_uuid: StringUUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
relative_path: StringRelative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
Implementations§
Trait Implementations§
impl StructuralPartialEq for DiskPath
Auto Trait Implementations§
impl Freeze for DiskPath
impl RefUnwindSafe for DiskPath
impl Send for DiskPath
impl Sync for DiskPath
impl Unpin for DiskPath
impl UnwindSafe for DiskPath
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