pub enum StatusState {
Pending,
Success,
Failure,
Error,
}Expand description
State of a Gitea commit status, mirroring the Gitea API enum.
Used by GiteaTracker::set_commit_status to mark a commit’s check
state for a given context (e.g. adf/pr-reviewer).
Variants§
Pending
The check is queued or running.
Success
The check passed.
Failure
The check failed (a reviewer-actionable failure).
Error
The check could not run to completion (infrastructure problem).
Implementations§
Trait Implementations§
Source§impl Clone for StatusState
impl Clone for StatusState
Source§fn clone(&self) -> StatusState
fn clone(&self) -> StatusState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusState
impl Debug for StatusState
Source§impl PartialEq for StatusState
impl PartialEq for StatusState
Source§fn eq(&self, other: &StatusState) -> bool
fn eq(&self, other: &StatusState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StatusState
impl Eq for StatusState
impl StructuralPartialEq for StatusState
Auto Trait Implementations§
impl Freeze for StatusState
impl RefUnwindSafe for StatusState
impl Send for StatusState
impl Sync for StatusState
impl Unpin for StatusState
impl UnsafeUnpin for StatusState
impl UnwindSafe for StatusState
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