pub struct Workflow {
pub default_workflow_permissions: TokenPermissions,
pub can_approve_pull_request_reviews: bool,
}Expand description
The default token permissions of workflows.
Fields§
§default_workflow_permissions: TokenPermissionsThe permissions the workflow token has by default.
can_approve_pull_request_reviews: boolWhether workflows may approve pull request reviews.
Trait Implementations§
Source§impl ActionsGroup for Workflow
impl ActionsGroup for Workflow
Source§type Wire = WorkflowResponse
type Wire = WorkflowResponse
What GitHub answers with.
Source§const UNAVAILABLE_STATUS: Option<u16> = None
const UNAVAILABLE_STATUS: Option<u16> = None
The status that reads as an unavailable group.
impl Copy for Workflow
impl Eq for Workflow
Source§impl From<WorkflowResponse> for Workflow
impl From<WorkflowResponse> for Workflow
Source§fn from(response: WorkflowResponse) -> Self
fn from(response: WorkflowResponse) -> Self
Converts to this type from the input type.
Source§impl GroupType for Workflow
impl GroupType for Workflow
impl StructuralPartialEq for Workflow
Auto Trait Implementations§
impl Freeze for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnsafeUnpin for Workflow
impl UnwindSafe for Workflow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.