Struct distant_protocol::WindowsMetadata
source · pub struct WindowsMetadata {Show 15 fields
pub archive: bool,
pub compressed: bool,
pub encrypted: bool,
pub hidden: bool,
pub integrity_stream: bool,
pub normal: bool,
pub not_content_indexed: bool,
pub no_scrub_data: bool,
pub offline: bool,
pub recall_on_data_access: bool,
pub recall_on_open: bool,
pub reparse_point: bool,
pub sparse_file: bool,
pub system: bool,
pub temporary: bool,
}
Expand description
Represents windows-specific metadata about some path on a remote machine
Fields§
§archive: bool
Represents whether or not a file or directory is an archive
compressed: bool
Represents whether or not a file or directory is compressed
encrypted: bool
Represents whether or not the file or directory is encrypted
Represents whether or not a file or directory is hidden
integrity_stream: bool
Represents whether or not a directory or user data stream is configured with integrity
normal: bool
Represents whether or not a file does not have other attributes set
not_content_indexed: bool
Represents whether or not a file or directory is not to be indexed by content indexing service
no_scrub_data: bool
Represents whether or not a user data stream is not to be read by the background data integrity scanner
offline: bool
Represents whether or not the data of a file is not available immediately
recall_on_data_access: bool
Represents whether or not a file or directory is not fully present locally
recall_on_open: bool
Represents whether or not a file or directory has no physical representation on the local system (is virtual)
reparse_point: bool
Represents whether or not a file or directory has an associated reparse point, or a file is a symbolic link
sparse_file: bool
Represents whether or not a file is a sparse file
system: bool
Represents whether or not a file or directory is used partially or exclusively by the operating system
temporary: bool
Represents whether or not a file is being used for temporary storage
Trait Implementations§
source§impl Clone for WindowsMetadata
impl Clone for WindowsMetadata
source§fn clone(&self) -> WindowsMetadata
fn clone(&self) -> WindowsMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WindowsMetadata
impl Debug for WindowsMetadata
source§impl<'de> Deserialize<'de> for WindowsMetadata
impl<'de> Deserialize<'de> for WindowsMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl From<WindowsMetadata> for u32
impl From<WindowsMetadata> for u32
source§fn from(metadata: WindowsMetadata) -> Self
fn from(metadata: WindowsMetadata) -> Self
Convert to a windows file attribute bitset
source§impl From<u32> for WindowsMetadata
impl From<u32> for WindowsMetadata
source§impl PartialEq<WindowsMetadata> for WindowsMetadata
impl PartialEq<WindowsMetadata> for WindowsMetadata
source§fn eq(&self, other: &WindowsMetadata) -> bool
fn eq(&self, other: &WindowsMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.