pub enum OpType {
Show 27 variants
CreateRepo,
RenameRepo,
StarRepo,
WatchRepo,
CommitRepo,
CreateIssue,
CreatePullRequest,
TransferRepo,
PushTag,
CommentIssue,
MergePullRequest,
CloseIssue,
ReopenIssue,
ClosePullRequest,
ReopenPullRequest,
DeleteTag,
DeleteBranch,
MirrorSyncPush,
MirrorSyncCreate,
MirrorSyncDelete,
ApprovePullRequest,
RejectPullRequest,
CommentPull,
PublishRelease,
PullReviewDismissed,
PullRequestReadyForReview,
AutoMergePullRequest,
}Expand description
the type of action
Variants§
CreateRepo
RenameRepo
StarRepo
WatchRepo
CommitRepo
CreateIssue
CreatePullRequest
TransferRepo
PushTag
CommentIssue
MergePullRequest
CloseIssue
ReopenIssue
ClosePullRequest
ReopenPullRequest
DeleteTag
DeleteBranch
MirrorSyncPush
MirrorSyncCreate
MirrorSyncDelete
ApprovePullRequest
RejectPullRequest
CommentPull
PublishRelease
PullReviewDismissed
PullRequestReadyForReview
AutoMergePullRequest
Trait Implementations§
impl Copy for OpType
Source§impl<'de> Deserialize<'de> for OpType
impl<'de> Deserialize<'de> for OpType
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 OpType
Source§impl Ord for OpType
impl Ord for OpType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for OpType
impl PartialOrd for OpType
impl StructuralPartialEq for OpType
Auto Trait Implementations§
impl Freeze for OpType
impl RefUnwindSafe for OpType
impl Send for OpType
impl Sync for OpType
impl Unpin for OpType
impl UnsafeUnpin for OpType
impl UnwindSafe for OpType
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