pub struct CustomRule<F>{ /* private fields */ }Expand description
Custom validation rule from closure
Implementations§
Trait Implementations§
Source§impl<F> ValidationRule for CustomRule<F>
impl<F> ValidationRule for CustomRule<F>
Auto Trait Implementations§
impl<F> Freeze for CustomRule<F>where
F: Freeze,
impl<F> RefUnwindSafe for CustomRule<F>where
F: RefUnwindSafe,
impl<F> Send for CustomRule<F>
impl<F> Sync for CustomRule<F>
impl<F> Unpin for CustomRule<F>where
F: Unpin,
impl<F> UnwindSafe for CustomRule<F>where
F: UnwindSafe,
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