pub struct SecretFilePermissions {
pub group_access: bool,
pub other_access: bool,
}Expand description
Portable projection of secret-file permissions.
Fields§
§group_access: boolWhether group access.
other_access: boolWhether other access.
Implementations§
Source§impl SecretFilePermissions
impl SecretFilePermissions
Sourcepub fn is_owner_only(self) -> bool
pub fn is_owner_only(self) -> bool
Returns whether owner only.
Trait Implementations§
Source§impl Clone for SecretFilePermissions
impl Clone for SecretFilePermissions
impl Copy for SecretFilePermissions
Source§impl Debug for SecretFilePermissions
impl Debug for SecretFilePermissions
impl Eq for SecretFilePermissions
Source§impl PartialEq for SecretFilePermissions
impl PartialEq for SecretFilePermissions
impl StructuralPartialEq for SecretFilePermissions
Auto Trait Implementations§
impl Freeze for SecretFilePermissions
impl RefUnwindSafe for SecretFilePermissions
impl Send for SecretFilePermissions
impl Sync for SecretFilePermissions
impl Unpin for SecretFilePermissions
impl UnsafeUnpin for SecretFilePermissions
impl UnwindSafe for SecretFilePermissions
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