pub struct StatPathOptions {
pub include_attributes: bool,
pub snapshot_id: Option<CheckpointId>,
}Expand description
Options for stating one path.
Fields§
§include_attributes: boolProject the inode’s attribute map and its revision onto the answer.
Defaults to on. A stat answers for one path, and an attribute map is capped at 64 KiB, so the cost of including it is bounded by the request.
snapshot_id: Option<CheckpointId>Read a path from this snapshot. Inode lookups do not support snapshots.
Trait Implementations§
Source§impl Clone for StatPathOptions
impl Clone for StatPathOptions
Source§fn clone(&self) -> StatPathOptions
fn clone(&self) -> StatPathOptions
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 StatPathOptions
impl Debug for StatPathOptions
Source§impl Default for StatPathOptions
impl Default for StatPathOptions
impl Eq for StatPathOptions
Source§impl PartialEq for StatPathOptions
impl PartialEq for StatPathOptions
impl StructuralPartialEq for StatPathOptions
Auto Trait Implementations§
impl Freeze for StatPathOptions
impl RefUnwindSafe for StatPathOptions
impl Send for StatPathOptions
impl Sync for StatPathOptions
impl Unpin for StatPathOptions
impl UnsafeUnpin for StatPathOptions
impl UnwindSafe for StatPathOptions
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