pub struct RegexVerifierBuilder { /* private fields */ }Expand description
Builder for RegexVerifier.
Implementations§
Source§impl RegexVerifierBuilder
impl RegexVerifierBuilder
pub fn regex(&mut self, value: Regex) -> &mut Self
Sourcepub fn build(&self) -> Result<RegexVerifier, RegexVerifierBuilderError>
pub fn build(&self) -> Result<RegexVerifier, RegexVerifierBuilderError>
Trait Implementations§
Source§impl Clone for RegexVerifierBuilder
impl Clone for RegexVerifierBuilder
Source§fn clone(&self) -> RegexVerifierBuilder
fn clone(&self) -> RegexVerifierBuilder
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 moreAuto Trait Implementations§
impl Freeze for RegexVerifierBuilder
impl RefUnwindSafe for RegexVerifierBuilder
impl Send for RegexVerifierBuilder
impl Sync for RegexVerifierBuilder
impl Unpin for RegexVerifierBuilder
impl UnwindSafe for RegexVerifierBuilder
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