pub struct ActionTarget {
pub action: JobAction,
pub job: u64,
pub name: String,
pub repository: String,
pub run: u64,
pub attempt: Option<u32>,
}Expand description
What an action acts on: the job as the history records it, and the run’s attempt as GitHub said it.
Fields§
§action: JobActionWhat is asked.
job: u64The job it was asked from.
name: StringThe job’s name in its workflow, as GitHub named it.
repository: Stringowner/name.
run: u64The job’s workflow run.
attempt: Option<u32>The run’s current attempt, as GitHub said it; None when it could not be read.
Trait Implementations§
Source§impl Clone for ActionTarget
impl Clone for ActionTarget
Source§impl Debug for ActionTarget
impl Debug for ActionTarget
impl Eq for ActionTarget
Source§impl PartialEq for ActionTarget
impl PartialEq for ActionTarget
impl StructuralPartialEq for ActionTarget
Auto Trait Implementations§
impl Forget for ActionTarget
impl Freeze for ActionTarget
impl Move for ActionTarget
impl RefUnwindSafe for ActionTarget
impl Send for ActionTarget
impl Sync for ActionTarget
impl Unpin for ActionTarget
impl UnsafeUnpin for ActionTarget
impl UnwindSafe for ActionTarget
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.