pub struct FileAttrs(/* private fields */);Expand description
File attribute flags from the RPM header.
Implementations§
Source§impl FileAttrs
impl FileAttrs
Sourcepub fn is_missingok(self) -> bool
pub fn is_missingok(self) -> bool
File may be missing on disk (%config(missingok)).
Sourcepub fn is_noreplace(self) -> bool
pub fn is_noreplace(self) -> bool
Existing file should not be replaced (%config(noreplace)).
Sourcepub fn is_license(self) -> bool
pub fn is_license(self) -> bool
File is a license file (%license).
Sourcepub fn is_artifact(self) -> bool
pub fn is_artifact(self) -> bool
File is an artifact (%artifact).
Trait Implementations§
impl Copy for FileAttrs
impl Eq for FileAttrs
impl StructuralPartialEq for FileAttrs
Auto Trait Implementations§
impl Freeze for FileAttrs
impl RefUnwindSafe for FileAttrs
impl Send for FileAttrs
impl Sync for FileAttrs
impl Unpin for FileAttrs
impl UnsafeUnpin for FileAttrs
impl UnwindSafe for FileAttrs
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