pub struct ActionsSetDefaultWorkflowPermissions {
pub default_workflow_permissions: Option<ActionsDefaultWorkflowPermissions>,
pub can_approve_pull_request_reviews: Option<bool>,
}
Fields§
§default_workflow_permissions: Option<ActionsDefaultWorkflowPermissions>
§can_approve_pull_request_reviews: Option<bool>
Whether GitHub Actions can approve pull requests. Enabling this can be a security risk.
Implementations§
Trait Implementations§
Source§impl Clone for ActionsSetDefaultWorkflowPermissions
impl Clone for ActionsSetDefaultWorkflowPermissions
Source§fn clone(&self) -> ActionsSetDefaultWorkflowPermissions
fn clone(&self) -> ActionsSetDefaultWorkflowPermissions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ActionsSetDefaultWorkflowPermissions
impl Default for ActionsSetDefaultWorkflowPermissions
Source§fn default() -> ActionsSetDefaultWorkflowPermissions
fn default() -> ActionsSetDefaultWorkflowPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionsSetDefaultWorkflowPermissions
impl<'de> Deserialize<'de> for ActionsSetDefaultWorkflowPermissions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ActionsSetDefaultWorkflowPermissions
impl PartialEq for ActionsSetDefaultWorkflowPermissions
Source§fn eq(&self, other: &ActionsSetDefaultWorkflowPermissions) -> bool
fn eq(&self, other: &ActionsSetDefaultWorkflowPermissions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionsSetDefaultWorkflowPermissions
Auto Trait Implementations§
impl Freeze for ActionsSetDefaultWorkflowPermissions
impl RefUnwindSafe for ActionsSetDefaultWorkflowPermissions
impl Send for ActionsSetDefaultWorkflowPermissions
impl Sync for ActionsSetDefaultWorkflowPermissions
impl Unpin for ActionsSetDefaultWorkflowPermissions
impl UnwindSafe for ActionsSetDefaultWorkflowPermissions
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