pub struct RepositoryRuleBranchNamePattern {
pub type: Type,
pub parameters: Option<Box<RepositoryRuleCommitMessagePatternParameters>>,
}
Expand description
RepositoryRuleBranchNamePattern : Parameters to be used for the branch_name_pattern rule
Fields§
§type: Type
§parameters: Option<Box<RepositoryRuleCommitMessagePatternParameters>>
Implementations§
Source§impl RepositoryRuleBranchNamePattern
impl RepositoryRuleBranchNamePattern
Sourcepub fn new(type: Type) -> RepositoryRuleBranchNamePattern
pub fn new(type: Type) -> RepositoryRuleBranchNamePattern
Parameters to be used for the branch_name_pattern rule
Trait Implementations§
Source§impl Clone for RepositoryRuleBranchNamePattern
impl Clone for RepositoryRuleBranchNamePattern
Source§fn clone(&self) -> RepositoryRuleBranchNamePattern
fn clone(&self) -> RepositoryRuleBranchNamePattern
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 RepositoryRuleBranchNamePattern
impl Default for RepositoryRuleBranchNamePattern
Source§fn default() -> RepositoryRuleBranchNamePattern
fn default() -> RepositoryRuleBranchNamePattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleBranchNamePattern
impl<'de> Deserialize<'de> for RepositoryRuleBranchNamePattern
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 RepositoryRuleBranchNamePattern
impl PartialEq for RepositoryRuleBranchNamePattern
Source§fn eq(&self, other: &RepositoryRuleBranchNamePattern) -> bool
fn eq(&self, other: &RepositoryRuleBranchNamePattern) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRuleBranchNamePattern
Auto Trait Implementations§
impl Freeze for RepositoryRuleBranchNamePattern
impl RefUnwindSafe for RepositoryRuleBranchNamePattern
impl Send for RepositoryRuleBranchNamePattern
impl Sync for RepositoryRuleBranchNamePattern
impl Unpin for RepositoryRuleBranchNamePattern
impl UnwindSafe for RepositoryRuleBranchNamePattern
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