pub struct PermissionsSummary {
pub description: String,
pub readable_by_other_local_users: bool,
}Expand description
What a file’s permissions amount to, in terms this product cares about.
Fields§
§description: StringPlatform-native description — a Unix mode, or a Windows DACL in SDDL form. For diagnostics and for test failure messages.
readable_by_other_local_users: boolWhether an ordinary local user other than the file’s owner could read it.
A local administrator or root is deliberately outside this question:
07-security.md records that such an account is already assumed able to
read the runner’s credentials and job workspaces, so pretending a file
mode could exclude it would be theatre.
Trait Implementations§
Source§impl Clone for PermissionsSummary
impl Clone for PermissionsSummary
Source§fn clone(&self) -> PermissionsSummary
fn clone(&self) -> PermissionsSummary
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 PermissionsSummary
impl Debug for PermissionsSummary
impl Eq for PermissionsSummary
Source§impl PartialEq for PermissionsSummary
impl PartialEq for PermissionsSummary
impl StructuralPartialEq for PermissionsSummary
Auto Trait Implementations§
impl Freeze for PermissionsSummary
impl RefUnwindSafe for PermissionsSummary
impl Send for PermissionsSummary
impl Sync for PermissionsSummary
impl Unpin for PermissionsSummary
impl UnsafeUnpin for PermissionsSummary
impl UnwindSafe for PermissionsSummary
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