Struct wezterm_ssh::FilePermissions
source · [−]pub struct FilePermissions {
pub owner_read: bool,
pub owner_write: bool,
pub owner_exec: bool,
pub group_read: bool,
pub group_write: bool,
pub group_exec: bool,
pub other_read: bool,
pub other_write: bool,
pub other_exec: bool,
}
Expand description
Represents permissions associated with a remote file
Fields
owner_read: bool
owner_write: bool
owner_exec: bool
group_read: bool
group_write: bool
group_exec: bool
other_read: bool
other_write: bool
other_exec: bool
Implementations
Create from a unix mode bitset
Convert to a unix mode bitset
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FilePermissions
impl Send for FilePermissions
impl Sync for FilePermissions
impl Unpin for FilePermissions
impl UnwindSafe for FilePermissions
Blanket Implementations
Mutably borrows from an owned value. Read more