Struct win_sys::FileSystem::NTMS_LIBRARYINFORMATION
source · [−]#[repr(C)]pub struct NTMS_LIBRARYINFORMATION {Show 23 fields
pub LibraryType: NtmsLibraryType,
pub CleanerSlot: GUID,
pub CleanerSlotDefault: GUID,
pub LibrarySupportsDriveCleaning: BOOL,
pub BarCodeReaderInstalled: BOOL,
pub InventoryMethod: NtmsInventoryMethod,
pub dwCleanerUsesRemaining: u32,
pub FirstDriveNumber: u32,
pub dwNumberOfDrives: u32,
pub FirstSlotNumber: u32,
pub dwNumberOfSlots: u32,
pub FirstDoorNumber: u32,
pub dwNumberOfDoors: u32,
pub FirstPortNumber: u32,
pub dwNumberOfPorts: u32,
pub FirstChangerNumber: u32,
pub dwNumberOfChangers: u32,
pub dwNumberOfMedia: u32,
pub dwNumberOfMediaTypes: u32,
pub dwNumberOfLibRequests: u32,
pub Reserved: GUID,
pub AutoRecovery: BOOL,
pub dwFlags: NtmsLibraryFlags,
}Expand description
Required features: ‘Win32_Storage_FileSystem’, ‘Win32_Foundation’
Fields
LibraryType: NtmsLibraryTypeCleanerSlot: GUIDCleanerSlotDefault: GUIDLibrarySupportsDriveCleaning: BOOLBarCodeReaderInstalled: BOOLInventoryMethod: NtmsInventoryMethoddwCleanerUsesRemaining: u32FirstDriveNumber: u32dwNumberOfDrives: u32FirstSlotNumber: u32dwNumberOfSlots: u32FirstDoorNumber: u32dwNumberOfDoors: u32FirstPortNumber: u32dwNumberOfPorts: u32FirstChangerNumber: u32dwNumberOfChangers: u32dwNumberOfMedia: u32dwNumberOfMediaTypes: u32dwNumberOfLibRequests: u32Reserved: GUIDAutoRecovery: BOOLdwFlags: NtmsLibraryFlagsTrait Implementations
sourceimpl Clone for NTMS_LIBRARYINFORMATION
impl Clone for NTMS_LIBRARYINFORMATION
sourcepub fn clone(&self) -> NTMS_LIBRARYINFORMATION
pub fn clone(&self) -> NTMS_LIBRARYINFORMATION
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NTMS_LIBRARYINFORMATION
impl Debug for NTMS_LIBRARYINFORMATION
sourceimpl Default for NTMS_LIBRARYINFORMATION
impl Default for NTMS_LIBRARYINFORMATION
sourcepub fn default() -> NTMS_LIBRARYINFORMATION
pub fn default() -> NTMS_LIBRARYINFORMATION
Returns the “default value” for a type. Read more
impl Copy for NTMS_LIBRARYINFORMATION
impl Eq for NTMS_LIBRARYINFORMATION
Auto Trait Implementations
impl RefUnwindSafe for NTMS_LIBRARYINFORMATION
impl Send for NTMS_LIBRARYINFORMATION
impl Sync for NTMS_LIBRARYINFORMATION
impl Unpin for NTMS_LIBRARYINFORMATION
impl UnwindSafe for NTMS_LIBRARYINFORMATION
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more