pub struct UploadDocument {
pub max_file_size: Option<SettingNumber>,
pub allowed_mime_types: Option<Vec<String>>,
}Fields§
§max_file_size: Option<SettingNumber>§allowed_mime_types: Option<Vec<String>>Trait Implementations§
Source§impl Clone for UploadDocument
impl Clone for UploadDocument
Source§impl Debug for UploadDocument
impl Debug for UploadDocument
Source§impl<'de> Deserialize<'de> for UploadDocument
impl<'de> Deserialize<'de> for UploadDocument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UploadDocument
Source§impl From<UploadDocument> for UploadSettingsDetail
impl From<UploadDocument> for UploadSettingsDetail
Source§fn from(d: UploadDocument) -> Self
fn from(d: UploadDocument) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UploadDocument
impl PartialEq for UploadDocument
impl StructuralPartialEq for UploadDocument
Auto Trait Implementations§
impl Freeze for UploadDocument
impl RefUnwindSafe for UploadDocument
impl Send for UploadDocument
impl Sync for UploadDocument
impl Unpin for UploadDocument
impl UnsafeUnpin for UploadDocument
impl UnwindSafe for UploadDocument
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