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