Struct winapi_util::file::Information [−][src]
pub struct Information(_);
Represents file information such as creation time, file size, etc.
This wraps a BY_HANDLE_FILE_INFORMATION.
Methods
impl Information[src]
impl Informationpub fn file_attributes(&self) -> u64[src]
pub fn file_attributes(&self) -> u64Returns file attributes.
This corresponds to dwFileAttributes.
pub fn creation_time(&self) -> Option<u64>[src]
pub fn creation_time(&self) -> Option<u64>Return the creation time, if one exists.
This corresponds to ftCreationTime.
pub fn last_access_time(&self) -> Option<u64>[src]
pub fn last_access_time(&self) -> Option<u64>Return the last access time, if one exists.
This corresponds to ftLastAccessTime.
pub fn last_write_time(&self) -> Option<u64>[src]
pub fn last_write_time(&self) -> Option<u64>Return the last write time, if one exists.
This corresponds to ftLastWriteTime.
pub fn volume_serial_number(&self) -> u64[src]
pub fn volume_serial_number(&self) -> u64Return the serial number of the volume that the file is on.
This corresponds to dwVolumeSerialNumber.
pub fn file_size(&self) -> u64[src]
pub fn file_size(&self) -> u64Return the file size, in bytes.
This corresponds to nFileSizeHigh and nFileSizeLow.
pub fn number_of_links(&self) -> u64[src]
pub fn number_of_links(&self) -> u64Return the number of links to this file.
This corresponds to nNumberOfLinks.
pub fn file_index(&self) -> u64[src]
pub fn file_index(&self) -> u64Return the index of this file. The index of a file is a purpotedly unique identifier for a file within a particular volume.
Trait Implementations
impl Clone for Information[src]
impl Clone for Informationfn clone(&self) -> Information[src]
fn clone(&self) -> InformationReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for Information
impl Send for Informationimpl Sync for Information
impl Sync for Information