pub struct ActionQuery {
pub force: bool,
pub confirm: Option<String>,
pub failed: bool,
}Expand description
POST /v1/jobs/{id}/cancel and POST /v1/jobs/{id}/rerun query parameters.
Fields§
§force: boolSend it. Without it, or without a confirm this daemon issued, the answer is a 409 ActionPreview and
nothing is sent to GitHub.
confirm: Option<String>The preview’s confirm: an opaque token this daemon issued with it, for CONFIRM_SECS, that sends what it
showed (the action, repository, run, attempt and job, under the config it was shown with) once.
failed: boolRe-run the run’s failed jobs rather than this job; only for rerun.
Trait Implementations§
Source§impl Clone for ActionQuery
impl Clone for ActionQuery
Source§impl Debug for ActionQuery
impl Debug for ActionQuery
Source§impl Default for ActionQuery
impl Default for ActionQuery
Source§impl<'de> Deserialize<'de> for ActionQuery
impl<'de> Deserialize<'de> for ActionQuery
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 ActionQuery
Source§impl PartialEq for ActionQuery
impl PartialEq for ActionQuery
Source§impl Serialize for ActionQuery
impl Serialize for ActionQuery
impl StructuralPartialEq for ActionQuery
Auto Trait Implementations§
impl Forget for ActionQuery
impl Freeze for ActionQuery
impl Move for ActionQuery
impl RefUnwindSafe for ActionQuery
impl Send for ActionQuery
impl Sync for ActionQuery
impl Unpin for ActionQuery
impl UnsafeUnpin for ActionQuery
impl UnwindSafe for ActionQuery
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.