Struct ntfs::structured_values::NtfsVolumeName
source · pub struct NtfsVolumeName { /* private fields */ }
Expand description
Structure of a $VOLUME_NAME attribute.
This attribute is only used by the top-level $Volume file and contains the user-defined name of this filesystem.
You can easily access it via Ntfs::volume_name
.
A $VOLUME_NAME attribute is always resident.
Reference: https://flatcap.github.io/linux-ntfs/ntfs/attributes/volume_name.html
Implementations§
Trait Implementations§
source§impl Clone for NtfsVolumeName
impl Clone for NtfsVolumeName
source§fn clone(&self) -> NtfsVolumeName
fn clone(&self) -> NtfsVolumeName
Returns a copy of the value. Read more
1.0.0 · 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 NtfsVolumeName
impl Debug for NtfsVolumeName
source§impl<'n, 'f> NtfsStructuredValue<'n, 'f> for NtfsVolumeName
impl<'n, 'f> NtfsStructuredValue<'n, 'f> for NtfsVolumeName
const TY: NtfsAttributeType = NtfsAttributeType::VolumeName
source§fn from_attribute_value<T>(
fs: &mut T,
value: NtfsAttributeValue<'n, 'f>
) -> Result<Self>where
T: Read + Seek,
fn from_attribute_value<T>( fs: &mut T, value: NtfsAttributeValue<'n, 'f> ) -> Result<Self>where T: Read + Seek,
Create a structured value from an arbitrary
NtfsAttributeValue
.source§impl<'n, 'f> NtfsStructuredValueFromResidentAttributeValue<'n, 'f> for NtfsVolumeName
impl<'n, 'f> NtfsStructuredValueFromResidentAttributeValue<'n, 'f> for NtfsVolumeName
source§fn from_resident_attribute_value(
value: NtfsResidentAttributeValue<'f>
) -> Result<Self>
fn from_resident_attribute_value( value: NtfsResidentAttributeValue<'f> ) -> Result<Self>
Create a structured value from a resident attribute value. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NtfsVolumeName
impl Send for NtfsVolumeName
impl Sync for NtfsVolumeName
impl Unpin for NtfsVolumeName
impl UnwindSafe for NtfsVolumeName
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