Struct diskplan_filesystem::SetAttrs
source · pub struct SetAttrs<'a> {
pub owner: Option<&'a str>,
pub group: Option<&'a str>,
pub mode: Option<Mode>,
}
Expand description
Optional owner, group and UNIX permissions to be set
Fields§
§owner: Option<&'a str>
An optional owner to set given by name
group: Option<&'a str>
An optional group to set given by name
mode: Option<Mode>
An optional Mode
to set
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for SetAttrs<'a>
impl<'a> PartialEq for SetAttrs<'a>
impl<'a> Eq for SetAttrs<'a>
impl<'a> StructuralEq for SetAttrs<'a>
impl<'a> StructuralPartialEq for SetAttrs<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SetAttrs<'a>
impl<'a> Send for SetAttrs<'a>
impl<'a> Sync for SetAttrs<'a>
impl<'a> Unpin for SetAttrs<'a>
impl<'a> UnwindSafe for SetAttrs<'a>
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