pub struct UploadRules { /* private fields */ }Expand description
Per-file constraints for Upload::validate.
Implementations§
Trait Implementations§
Source§impl Clone for UploadRules
impl Clone for UploadRules
Source§fn clone(&self) -> UploadRules
fn clone(&self) -> UploadRules
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UploadRules
impl Debug for UploadRules
Source§impl Default for UploadRules
impl Default for UploadRules
Source§fn default() -> UploadRules
fn default() -> UploadRules
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UploadRules
impl RefUnwindSafe for UploadRules
impl Send for UploadRules
impl Sync for UploadRules
impl Unpin for UploadRules
impl UnsafeUnpin for UploadRules
impl UnwindSafe for UploadRules
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