pub struct RepositoryRuleWorkflows {
pub type: Type,
pub parameters: Option<Box<RepositoryRuleWorkflowsParameters>>,
}
Expand description
RepositoryRuleWorkflows : Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
Fields§
§type: Type
§parameters: Option<Box<RepositoryRuleWorkflowsParameters>>
Implementations§
Source§impl RepositoryRuleWorkflows
impl RepositoryRuleWorkflows
Sourcepub fn new(type: Type) -> RepositoryRuleWorkflows
pub fn new(type: Type) -> RepositoryRuleWorkflows
Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
Trait Implementations§
Source§impl Clone for RepositoryRuleWorkflows
impl Clone for RepositoryRuleWorkflows
Source§fn clone(&self) -> RepositoryRuleWorkflows
fn clone(&self) -> RepositoryRuleWorkflows
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 Debug for RepositoryRuleWorkflows
impl Debug for RepositoryRuleWorkflows
Source§impl Default for RepositoryRuleWorkflows
impl Default for RepositoryRuleWorkflows
Source§fn default() -> RepositoryRuleWorkflows
fn default() -> RepositoryRuleWorkflows
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleWorkflows
impl<'de> Deserialize<'de> for RepositoryRuleWorkflows
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 RepositoryRuleWorkflows
impl PartialEq for RepositoryRuleWorkflows
Source§impl Serialize for RepositoryRuleWorkflows
impl Serialize for RepositoryRuleWorkflows
impl StructuralPartialEq for RepositoryRuleWorkflows
Auto Trait Implementations§
impl Freeze for RepositoryRuleWorkflows
impl RefUnwindSafe for RepositoryRuleWorkflows
impl Send for RepositoryRuleWorkflows
impl Sync for RepositoryRuleWorkflows
impl Unpin for RepositoryRuleWorkflows
impl UnwindSafe for RepositoryRuleWorkflows
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