pub struct VolumeLabel {
pub drive_letter: char,
pub volume_label: String,
pub source: Provenance,
}Expand description
A cached volume label keyed by the drive letter it was mounted at.
Fields§
§drive_letter: charThe drive letter the volume was mounted as (upper-cased, e.g. E).
volume_label: StringThe volume label (never empty — unlabelled volumes are omitted).
source: ProvenanceWhere the record was decoded from.
Trait Implementations§
Source§impl Clone for VolumeLabel
impl Clone for VolumeLabel
Source§fn clone(&self) -> VolumeLabel
fn clone(&self) -> VolumeLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VolumeLabel
impl Debug for VolumeLabel
impl Eq for VolumeLabel
Source§impl PartialEq for VolumeLabel
impl PartialEq for VolumeLabel
impl StructuralPartialEq for VolumeLabel
Auto Trait Implementations§
impl Freeze for VolumeLabel
impl RefUnwindSafe for VolumeLabel
impl Send for VolumeLabel
impl Sync for VolumeLabel
impl Unpin for VolumeLabel
impl UnsafeUnpin for VolumeLabel
impl UnwindSafe for VolumeLabel
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