pub struct PermissionWarning {
pub path: PathBuf,
pub mode: u32,
}Expand description
A secret file whose permissions are wider than its owner.
Fields§
§path: PathBufThe file that was checked.
mode: u32The mode found, masked to the permission bits.
Trait Implementations§
Source§impl Clone for PermissionWarning
impl Clone for PermissionWarning
Source§fn clone(&self) -> PermissionWarning
fn clone(&self) -> PermissionWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PermissionWarning
impl Debug for PermissionWarning
Source§impl Display for PermissionWarning
impl Display for PermissionWarning
Source§impl PartialEq for PermissionWarning
impl PartialEq for PermissionWarning
Source§fn eq(&self, other: &PermissionWarning) -> bool
fn eq(&self, other: &PermissionWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PermissionWarning
impl StructuralPartialEq for PermissionWarning
Auto Trait Implementations§
impl Freeze for PermissionWarning
impl RefUnwindSafe for PermissionWarning
impl Send for PermissionWarning
impl Sync for PermissionWarning
impl Unpin for PermissionWarning
impl UnsafeUnpin for PermissionWarning
impl UnwindSafe for PermissionWarning
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