pub struct FormConfig { /* private fields */ }Expand description
Replacement for actix_web::web::FormConfig
Error handler must map from an garde_actix_web::error::Error
Implementations§
Source§impl FormConfig
impl FormConfig
pub fn limit(self, limit: usize) -> Self
pub fn error_handler<F>(self, f: F) -> Self
Trait Implementations§
Source§impl Clone for FormConfig
impl Clone for FormConfig
Source§fn clone(&self) -> FormConfig
fn clone(&self) -> FormConfig
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 moreAuto Trait Implementations§
impl Freeze for FormConfig
impl !RefUnwindSafe for FormConfig
impl !Send for FormConfig
impl !Sync for FormConfig
impl Unpin for FormConfig
impl !UnwindSafe for FormConfig
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