Struct diskplan_filesystem::Attrs
source · pub struct Attrs<'a> {
pub owner: Cow<'a, str>,
pub group: Cow<'a, str>,
pub mode: Mode,
}
Expand description
Owner, group and UNIX permissions
Fields§
§owner: Cow<'a, str>
The owner of the file or directory
group: Cow<'a, str>
The group of the file or directory
mode: Mode
The UNIX permissions of the file or directory
Trait Implementations§
source§impl<'a> PartialEq for Attrs<'a>
impl<'a> PartialEq for Attrs<'a>
impl<'a> Eq for Attrs<'a>
impl<'a> StructuralEq for Attrs<'a>
impl<'a> StructuralPartialEq for Attrs<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Attrs<'a>
impl<'a> Send for Attrs<'a>
impl<'a> Sync for Attrs<'a>
impl<'a> Unpin for Attrs<'a>
impl<'a> UnwindSafe for Attrs<'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