Struct distant_core::data::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
sourceimpl Clone for WindowsMetadata
impl Clone for WindowsMetadata
sourcefn clone(&self) -> WindowsMetadata
fn clone(&self) -> WindowsMetadata
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 WindowsMetadata
impl Debug for WindowsMetadata
sourceimpl<'de> Deserialize<'de> for WindowsMetadata
impl<'de> Deserialize<'de> for WindowsMetadata
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<WindowsMetadata> for u32
impl From<WindowsMetadata> for u32
sourcefn from(metadata: WindowsMetadata) -> Self
fn from(metadata: WindowsMetadata) -> Self
Convert to a windows file attribute bitset
sourceimpl From<u32> for WindowsMetadata
impl From<u32> for WindowsMetadata
sourceimpl PartialEq<WindowsMetadata> for WindowsMetadata
impl PartialEq<WindowsMetadata> for WindowsMetadata
sourcefn eq(&self, other: &WindowsMetadata) -> bool
fn eq(&self, other: &WindowsMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowsMetadata) -> bool
fn ne(&self, other: &WindowsMetadata) -> bool
This method tests for !=
.
sourceimpl Serialize for WindowsMetadata
impl Serialize for WindowsMetadata
impl Copy for WindowsMetadata
impl Eq for WindowsMetadata
impl StructuralEq for WindowsMetadata
impl StructuralPartialEq for WindowsMetadata
Auto Trait Implementations
impl RefUnwindSafe for WindowsMetadata
impl Send for WindowsMetadata
impl Sync for WindowsMetadata
impl Unpin for WindowsMetadata
impl UnwindSafe for WindowsMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more