pub enum GitHubAction {
Show 13 variants
ObserveRepositoryMetadata,
ListIssues {
maximum_items: u16,
},
ListPullRequests {
maximum_items: u16,
},
ListReleases {
maximum_items: u16,
},
ListWorkflowRuns {
maximum_items: u16,
},
ListWorkflowArtifacts {
workflow_run_id: String,
maximum_items: u16,
},
DownloadWorkflowArtifact {
workflow_run_id: String,
artifact_id: String,
expected_digest_sha256: Option<String>,
},
CreatePrivateRepository {
default_branch: String,
},
PushRepositorySnapshot {
snapshot_ref: String,
snapshot_digest_sha256: String,
expected_remote: GitHubRemoteExpectation,
},
DeleteRepository {
expected_repository_id: String,
backup_digest_sha256: String,
},
CreateIssue {
title: String,
body_artifact_ref: String,
},
CreatePullRequest {
base: String,
head: String,
title: String,
body_artifact_ref: String,
},
DispatchWorkflow {
workflow_ref: String,
git_ref: String,
inputs_artifact_ref: Option<String>,
},
}Variants§
ObserveRepositoryMetadata
ListIssues
ListPullRequests
ListReleases
ListWorkflowRuns
ListWorkflowArtifacts
DownloadWorkflowArtifact
CreatePrivateRepository
PushRepositorySnapshot
DeleteRepository
CreateIssue
CreatePullRequest
DispatchWorkflow
Implementations§
Source§impl GitHubAction
impl GitHubAction
pub const fn required_permission(&self) -> PermissionRequirement
Source§impl GitHubAction
impl GitHubAction
Trait Implementations§
Source§impl Clone for GitHubAction
impl Clone for GitHubAction
Source§impl Debug for GitHubAction
impl Debug for GitHubAction
Source§impl<'de> Deserialize<'de> for GitHubAction
impl<'de> Deserialize<'de> for GitHubAction
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
impl Eq for GitHubAction
Source§impl PartialEq for GitHubAction
impl PartialEq for GitHubAction
Source§impl Serialize for GitHubAction
impl Serialize for GitHubAction
impl StructuralPartialEq for GitHubAction
Auto Trait Implementations§
impl Freeze for GitHubAction
impl RefUnwindSafe for GitHubAction
impl Send for GitHubAction
impl Sync for GitHubAction
impl Unpin for GitHubAction
impl UnsafeUnpin for GitHubAction
impl UnwindSafe for GitHubAction
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.