pub struct WorkflowDispatchReceipt { /* private fields */ }Expand description
Secret-free receipt binding one positive run ID to every expected run identity field.
Implementations§
Source§impl WorkflowDispatchReceipt
impl WorkflowDispatchReceipt
Sourcepub const fn repository(&self) -> &Repository
pub const fn repository(&self) -> &Repository
Exact repository that accepted the dispatch.
Sourcepub const fn workflow_id(&self) -> WorkflowId
pub const fn workflow_id(&self) -> WorkflowId
Workflow registration used for the dispatch.
Sourcepub fn workflow_path(&self) -> &str
pub fn workflow_path(&self) -> &str
Exact registered workflow path.
Sourcepub const fn dispatch_revision(&self) -> &CommitSha
pub const fn dispatch_revision(&self) -> &CommitSha
Exact commit expected from the run metadata and worker GITHUB_SHA.
Sourcepub const fn branch(&self) -> &BranchName
pub const fn branch(&self) -> &BranchName
Exact temporary branch expected from run metadata and worker GITHUB_REF.
Trait Implementations§
Source§impl Clone for WorkflowDispatchReceipt
impl Clone for WorkflowDispatchReceipt
Source§impl Debug for WorkflowDispatchReceipt
impl Debug for WorkflowDispatchReceipt
impl Eq for WorkflowDispatchReceipt
Source§impl PartialEq for WorkflowDispatchReceipt
impl PartialEq for WorkflowDispatchReceipt
impl StructuralPartialEq for WorkflowDispatchReceipt
Auto Trait Implementations§
impl Freeze for WorkflowDispatchReceipt
impl RefUnwindSafe for WorkflowDispatchReceipt
impl Send for WorkflowDispatchReceipt
impl Sync for WorkflowDispatchReceipt
impl Unpin for WorkflowDispatchReceipt
impl UnsafeUnpin for WorkflowDispatchReceipt
impl UnwindSafe for WorkflowDispatchReceipt
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.