pub struct VolumeId {
pub drive_type: u32,
pub drive_serial_number: u32,
pub volume_label: Option<String>,
}Expand description
The VolumeID ([MS-SHLLINK] §2.3.1).
Fields§
§drive_type: u32DriveType (e.g. DRIVE_REMOVABLE = 2, DRIVE_FIXED = 3).
drive_serial_number: u32DriveSerialNumber — the join key to a peripheral DeviceConnection’s
volume serial. Surfaced as a first-class field.
volume_label: Option<String>The volume label, when decodable.
Trait Implementations§
impl Eq for VolumeId
impl StructuralPartialEq for VolumeId
Auto Trait Implementations§
impl Freeze for VolumeId
impl RefUnwindSafe for VolumeId
impl Send for VolumeId
impl Sync for VolumeId
impl Unpin for VolumeId
impl UnsafeUnpin for VolumeId
impl UnwindSafe for VolumeId
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