pub struct SetAttrs {
pub mode: Option<u16>,
pub uid: Option<u32>,
pub gid: Option<u32>,
pub atime: Option<u32>,
pub mtime: Option<u32>,
pub ctime: Option<u32>,
}Expand description
Mutation request for Filesystem::set_attrs. Every field is
optional — None means “leave as-is.” Mirrors the shape of FUSE’s
setattr so the adapter can pass a single packed struct in.
Fields§
§mode: Option<u16>§uid: Option<u32>§gid: Option<u32>§atime: Option<u32>§mtime: Option<u32>§ctime: Option<u32>Trait Implementations§
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