pub struct ValidNameBuilder { /* private fields */ }
Expand description
Builder for ValidName
.
Implementations§
Source§impl ValidNameBuilder
impl ValidNameBuilder
Sourcepub fn full_name_policy(&mut self, value: ValidNameFullNamePolicy) -> &mut Self
pub fn full_name_policy(&mut self, value: ValidNameFullNamePolicy) -> &mut Self
The policy for names in commits.
Configuration: Optional
Default: ValidNameFullNamePolicy::Required
Source§impl ValidNameBuilder
impl ValidNameBuilder
Sourcepub fn trust_domains<I, D>(&mut self, domains: I) -> &mut Self
pub fn trust_domains<I, D>(&mut self, domains: I) -> &mut Self
Add domains to the implicitly trusted domain list.
Sourcepub fn whitelisted_domains<I, D>(&mut self, domains: I) -> &mut Self
👎Deprecated since 4.1.0: better terminology; use trust_domains
instead
pub fn whitelisted_domains<I, D>(&mut self, domains: I) -> &mut Self
trust_domains
insteadAdd domains to the implicitly trusted domain list.
Trait Implementations§
Source§impl Clone for ValidNameBuilder
impl Clone for ValidNameBuilder
Source§fn clone(&self) -> ValidNameBuilder
fn clone(&self) -> ValidNameBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ValidNameBuilder
impl RefUnwindSafe for ValidNameBuilder
impl Send for ValidNameBuilder
impl Sync for ValidNameBuilder
impl Unpin for ValidNameBuilder
impl UnwindSafe for ValidNameBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more