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: boolRepresents whether or not a file or directory is an archive
compressed: boolRepresents whether or not a file or directory is compressed
encrypted: boolRepresents whether or not the file or directory is encrypted
Represents whether or not a file or directory is hidden
integrity_stream: boolRepresents whether or not a directory or user data stream is configured with integrity
normal: boolRepresents whether or not a file does not have other attributes set
not_content_indexed: boolRepresents whether or not a file or directory is not to be indexed by content indexing service
no_scrub_data: boolRepresents whether or not a user data stream is not to be read by the background data integrity scanner
offline: boolRepresents whether or not the data of a file is not available immediately
recall_on_data_access: boolRepresents whether or not a file or directory is not fully present locally
recall_on_open: boolRepresents whether or not a file or directory has no physical representation on the local system (is virtual)
reparse_point: boolRepresents whether or not a file or directory has an associated reparse point, or a file is a symbolic link
sparse_file: boolRepresents whether or not a file is a sparse file
system: boolRepresents whether or not a file or directory is used partially or exclusively by the operating system
temporary: boolRepresents 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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more