pub struct QueryConfig { /* private fields */ }Expand description
Replacement for actix_web::web::QueryConfig
Error handler must map from an garde_actix_web::error::Error
Implementations§
Source§impl QueryConfig
impl QueryConfig
pub fn error_handler<F>(self, f: F) -> Self
Trait Implementations§
Source§impl Clone for QueryConfig
impl Clone for QueryConfig
Source§fn clone(&self) -> QueryConfig
fn clone(&self) -> QueryConfig
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 moreSource§impl Default for QueryConfig
impl Default for QueryConfig
Source§fn default() -> QueryConfig
fn default() -> QueryConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryConfig
impl !RefUnwindSafe for QueryConfig
impl Send for QueryConfig
impl Sync for QueryConfig
impl Unpin for QueryConfig
impl !UnwindSafe for QueryConfig
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