pub struct ValidatorBuilder<T: ValidatorState> { /* private fields */ }Expand description
Builder for configuration profile validators.
Implementations§
Source§impl<T: ValidatorState> ValidatorBuilder<T>
impl<T: ValidatorState> ValidatorBuilder<T>
pub fn lambda(self, role: &RoleRef) -> ValidatorBuilder<ValidatorChosenState>
pub fn json_schema<S: Into<String>>( self, content: S, ) -> ValidatorBuilder<ValidatorChosenState>
Auto Trait Implementations§
impl<T> Freeze for ValidatorBuilder<T>
impl<T> RefUnwindSafe for ValidatorBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for ValidatorBuilder<T>where
T: Send,
impl<T> Sync for ValidatorBuilder<T>where
T: Sync,
impl<T> Unpin for ValidatorBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for ValidatorBuilder<T>where
T: 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