pub struct DiskPath {
pub partition_uuid: Option<String>,
pub relative_path: Option<String>,
}Expand description
Path of the file in terms of underlying disk/partition identifiers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§partition_uuid: Option<String>UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
relative_path: Option<String>Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiskPath
impl<'de> Deserialize<'de> for DiskPath
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
impl Part 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