pub struct Validate<T> {
pub source: ValidateSource,
/* private fields */
}Expand description
Route attribute: declare the validated DTO for a route.
Fields§
§source: ValidateSourceImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Validate<T>
impl<T> RefUnwindSafe for Validate<T>
impl<T> Send for Validate<T>
impl<T> Sync for Validate<T>
impl<T> Unpin for Validate<T>
impl<T> UnsafeUnpin for Validate<T>
impl<T> UnwindSafe for Validate<T>
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