pub struct WorkflowRef {
pub path: String,
pub reference: Option<String>,
pub repository_id: i64,
pub sha: Option<String>,
}Expand description
A workflow that must pass.
Fields§
§path: StringThe workflow file path.
reference: Option<String>The ref of the workflow file.
repository_id: i64The id of the repository that holds the workflow.
sha: Option<String>The commit of the workflow file.
Trait Implementations§
Source§impl Clone for WorkflowRef
impl Clone for WorkflowRef
Source§fn clone(&self) -> WorkflowRef
fn clone(&self) -> WorkflowRef
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 WorkflowRef
impl Debug for WorkflowRef
impl Eq for WorkflowRef
Source§impl<'ʄ> Facet<'ʄ> for WorkflowRef
impl<'ʄ> Facet<'ʄ> for WorkflowRef
Source§impl Ord for WorkflowRef
impl Ord for WorkflowRef
Source§fn cmp(&self, other: &WorkflowRef) -> Ordering
fn cmp(&self, other: &WorkflowRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WorkflowRef
impl PartialEq for WorkflowRef
Source§impl PartialOrd for WorkflowRef
impl PartialOrd for WorkflowRef
impl StructuralPartialEq for WorkflowRef
Auto Trait Implementations§
impl Freeze for WorkflowRef
impl RefUnwindSafe for WorkflowRef
impl Send for WorkflowRef
impl Sync for WorkflowRef
impl Unpin for WorkflowRef
impl UnsafeUnpin for WorkflowRef
impl UnwindSafe for WorkflowRef
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.