pub struct PathSpec {
pub direction: PathDirection,
pub kind: PathKind,
pub allowed_mime_types: Option<Vec<String>>,
pub allowed_extensions: Option<Vec<String>>,
}Fields§
§direction: PathDirection§kind: PathKind§allowed_mime_types: Option<Vec<String>>§allowed_extensions: Option<Vec<String>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathSpec
impl RefUnwindSafe for PathSpec
impl Send for PathSpec
impl Sync for PathSpec
impl Unpin for PathSpec
impl UnsafeUnpin for PathSpec
impl UnwindSafe for PathSpec
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