pub struct FileIr {
pub enabled: bool,
pub provider: FileProviderIr,
pub local_root: String,
pub max_bytes: u64,
pub allowed_content_types: Vec<String>,
}Expand description
File metadata and object-storage settings.
Fields§
§enabled: bool§provider: FileProviderIr§local_root: String§max_bytes: u64§allowed_content_types: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileIr
impl<'de> Deserialize<'de> for FileIr
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 FileIr
impl StructuralPartialEq for FileIr
Auto Trait Implementations§
impl Freeze for FileIr
impl RefUnwindSafe for FileIr
impl Send for FileIr
impl Sync for FileIr
impl Unpin for FileIr
impl UnsafeUnpin for FileIr
impl UnwindSafe for FileIr
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