pub struct MetadataQuery {
pub file: VfFile,
pub attributes: AttrMask,
pub follow_symlinks: bool,
}Expand description
Typed metadata lookup request. Returned fields are still represented by
VfAttrs during the compatibility transition, but request and mutation
masks are no longer conflated.
Fields§
§file: VfFile§attributes: AttrMask§follow_symlinks: boolImplementations§
Source§impl MetadataQuery
impl MetadataQuery
pub fn new(file: VfFile, attributes: AttrMask) -> MetadataQuery
pub fn no_follow(self) -> MetadataQuery
Trait Implementations§
Source§impl Clone for MetadataQuery
impl Clone for MetadataQuery
Source§fn clone(&self) -> MetadataQuery
fn clone(&self) -> MetadataQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetadataQuery
impl Debug for MetadataQuery
impl Eq for MetadataQuery
Source§impl PartialEq for MetadataQuery
impl PartialEq for MetadataQuery
impl StructuralPartialEq for MetadataQuery
Auto Trait Implementations§
impl Freeze for MetadataQuery
impl RefUnwindSafe for MetadataQuery
impl Send for MetadataQuery
impl Sync for MetadataQuery
impl Unpin for MetadataQuery
impl UnsafeUnpin for MetadataQuery
impl UnwindSafe for MetadataQuery
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