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