pub struct SetAttrs {
pub size: Option<u64>,
pub archive: Option<bool>,
pub hidden: Option<bool>,
pub mode: Option<u32>,
pub uid: Option<u32>,
pub gid: Option<u32>,
pub system: Option<bool>,
pub atime: Option<SetTime>,
pub mtime: Option<SetTime>,
pub birthtime: Option<SetTime>,
}Expand description
Partial attribute update request.
Fields§
§size: Option<u64>Resize the object to the requested logical size.
archive: Option<bool>Update the archive flag.
Update the hidden flag.
mode: Option<u32>Update permission bits.
uid: Option<u32>Update owner id.
gid: Option<u32>Update group id.
system: Option<bool>Update the system flag.
atime: Option<SetTime>Update access time.
mtime: Option<SetTime>Update modification time.
birthtime: Option<SetTime>Update birth time.
Implementations§
Trait Implementations§
impl Eq for SetAttrs
impl StructuralPartialEq for SetAttrs
Auto Trait Implementations§
impl Freeze for SetAttrs
impl RefUnwindSafe for SetAttrs
impl Send for SetAttrs
impl Sync for SetAttrs
impl Unpin for SetAttrs
impl UnsafeUnpin for SetAttrs
impl UnwindSafe for SetAttrs
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