pub enum ActionAnswer {
Accepted {
status: u16,
},
AlreadyFinished {
status: u16,
},
Refused {
refusal: ActionRefusal,
status: Option<u16>,
until: Option<u64>,
},
Unknown {
cause: UnknownCause,
status: Option<u16>,
},
}Expand description
What GitHub answered an action, as runnerd classifies it.
Variants§
Accepted
A 2xx.
AlreadyFinished
A cancel’s 409, with a read of the run that said it completed.
Refused
Refused, with nothing done.
Fields
§
refusal: ActionRefusalIts class.
Unknown
Whether GitHub did it is unknown.
Trait Implementations§
Source§impl Clone for ActionAnswer
impl Clone for ActionAnswer
impl Copy for ActionAnswer
Source§impl Debug for ActionAnswer
impl Debug for ActionAnswer
impl Eq for ActionAnswer
Source§impl PartialEq for ActionAnswer
impl PartialEq for ActionAnswer
impl StructuralPartialEq for ActionAnswer
Auto Trait Implementations§
impl Forget for ActionAnswer
impl Freeze for ActionAnswer
impl Move for ActionAnswer
impl RefUnwindSafe for ActionAnswer
impl Send for ActionAnswer
impl Sync for ActionAnswer
impl Unpin for ActionAnswer
impl UnsafeUnpin for ActionAnswer
impl UnwindSafe for ActionAnswer
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,
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.