pub struct MetadataUpdate {
pub mode: Option<NodePermission>,
pub owner: Option<(u32, u32)>,
pub atime: Option<Duration>,
pub mtime: Option<Duration>,
}Expand description
Filesystem node metadata update.
Fields§
§mode: Option<NodePermission>Permission mode
owner: Option<(u32, u32)>The owner (uid, gid)
atime: Option<Duration>Time of last access
mtime: Option<Duration>Time of last modification
Trait Implementations§
Source§impl Clone for MetadataUpdate
impl Clone for MetadataUpdate
Source§fn clone(&self) -> MetadataUpdate
fn clone(&self) -> MetadataUpdate
Returns a duplicate of the value. Read more
1.0.0 · 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 MetadataUpdate
impl Debug for MetadataUpdate
Source§impl Default for MetadataUpdate
impl Default for MetadataUpdate
Source§fn default() -> MetadataUpdate
fn default() -> MetadataUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetadataUpdate
impl RefUnwindSafe for MetadataUpdate
impl Send for MetadataUpdate
impl Sync for MetadataUpdate
impl Unpin for MetadataUpdate
impl UnwindSafe for MetadataUpdate
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