pub(crate) struct PermissionsBody {
pub(crate) enabled: bool,
pub(crate) allowed_actions: Option<ActionScope>,
pub(crate) sha_pinning_required: bool,
}Expand description
The body that sets whether Actions runs and which actions may run.
Fields§
§enabled: bool§allowed_actions: Option<ActionScope>§sha_pinning_required: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for PermissionsBody
impl RefUnwindSafe for PermissionsBody
impl Send for PermissionsBody
impl Sync for PermissionsBody
impl Unpin for PermissionsBody
impl UnsafeUnpin for PermissionsBody
impl UnwindSafe for PermissionsBody
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