pub struct RepositoryRuleParamsWorkflowFileReference {
pub path: Option<String>,
pub git_ref: Option<String>,
pub repository_id: Option<i64>,
pub sha: Option<String>,
}Expand description
A workflow that must run for this rule to pass
Fields§
§path: Option<String>The path to the workflow file
git_ref: Option<String>The ref (branch or tag) of the workflow file to use
repository_id: Option<i64>The ID of the repository where the workflow is defined
sha: Option<String>The commit SHA of the workflow file to use
Trait Implementations§
Source§impl Clone for RepositoryRuleParamsWorkflowFileReference
impl Clone for RepositoryRuleParamsWorkflowFileReference
Source§fn clone(&self) -> RepositoryRuleParamsWorkflowFileReference
fn clone(&self) -> RepositoryRuleParamsWorkflowFileReference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RepositoryRuleParamsWorkflowFileReference
impl Default for RepositoryRuleParamsWorkflowFileReference
Source§fn default() -> RepositoryRuleParamsWorkflowFileReference
fn default() -> RepositoryRuleParamsWorkflowFileReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleParamsWorkflowFileReference
impl<'de> Deserialize<'de> for RepositoryRuleParamsWorkflowFileReference
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
Source§impl PartialEq for RepositoryRuleParamsWorkflowFileReference
impl PartialEq for RepositoryRuleParamsWorkflowFileReference
Source§fn eq(&self, other: &RepositoryRuleParamsWorkflowFileReference) -> bool
fn eq(&self, other: &RepositoryRuleParamsWorkflowFileReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepositoryRuleParamsWorkflowFileReference
Auto Trait Implementations§
impl Freeze for RepositoryRuleParamsWorkflowFileReference
impl RefUnwindSafe for RepositoryRuleParamsWorkflowFileReference
impl Send for RepositoryRuleParamsWorkflowFileReference
impl Sync for RepositoryRuleParamsWorkflowFileReference
impl Unpin for RepositoryRuleParamsWorkflowFileReference
impl UnwindSafe for RepositoryRuleParamsWorkflowFileReference
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