pub struct FileMetadata {
pub posix_mode: MetadataField<u32>,
pub posix_uid: MetadataField<u32>,
pub posix_gid: MetadataField<u32>,
pub posix_flags: MetadataField<u64>,
pub windows_attributes: MetadataField<u32>,
pub created_ns: MetadataField<i64>,
pub modified_ns: MetadataField<i64>,
pub accessed_ns: MetadataField<i64>,
pub changed_ns: MetadataField<i64>,
pub named_attributes: MetadataField<ObjectId>,
pub acl: MetadataField<ObjectId>,
pub security_descriptor: MetadataField<ObjectId>,
}Expand description
Complete profile-independent metadata record.
Platform-specific facts are never guessed. Unavailable is distinct from a
supported field whose exact value is zero.
Fields§
§posix_mode: MetadataField<u32>POSIX permission/type bits when represented by the source.
posix_uid: MetadataField<u32>POSIX numeric owner identity.
posix_gid: MetadataField<u32>POSIX numeric group identity.
posix_flags: MetadataField<u64>POSIX inode flags where available.
windows_attributes: MetadataField<u32>Windows file-attribute bitset.
created_ns: MetadataField<i64>Creation/birth time in signed Unix-epoch nanoseconds.
modified_ns: MetadataField<i64>Last content-modification time in signed Unix-epoch nanoseconds.
accessed_ns: MetadataField<i64>Last access time in signed Unix-epoch nanoseconds.
changed_ns: MetadataField<i64>Last metadata-change time in signed Unix-epoch nanoseconds.
named_attributes: MetadataField<ObjectId>Named xattrs, alternate streams, and resource forks.
acl: MetadataField<ObjectId>Canonical ACL bytes when represented independently of a security descriptor.
security_descriptor: MetadataField<ObjectId>Canonical Windows security descriptor bytes.
Trait Implementations§
Source§impl Clone for FileMetadata
impl Clone for FileMetadata
impl Copy for FileMetadata
Source§impl Debug for FileMetadata
impl Debug for FileMetadata
Source§impl Default for FileMetadata
impl Default for FileMetadata
impl Eq for FileMetadata
Source§impl PartialEq for FileMetadata
impl PartialEq for FileMetadata
impl StructuralPartialEq for FileMetadata
Auto Trait Implementations§
impl Freeze for FileMetadata
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnsafeUnpin for FileMetadata
impl UnwindSafe for FileMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request