Struct rocket_validation::CachedValidationErrors
source · [−]pub struct CachedValidationErrors(pub Option<ValidationErrors>);
Expand description
Wrapper used to store ValidationErrors
within the scope of the request
Tuple Fields
0: Option<ValidationErrors>
Trait Implementations
sourceimpl Clone for CachedValidationErrors
impl Clone for CachedValidationErrors
sourcefn clone(&self) -> CachedValidationErrors
fn clone(&self) -> CachedValidationErrors
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for CachedValidationErrors
impl Send for CachedValidationErrors
impl Sync for CachedValidationErrors
impl Unpin for CachedValidationErrors
impl UnwindSafe for CachedValidationErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.