Struct actix_web::fs::DefaultConfig
source · pub struct DefaultConfig;
Expand description
Default content disposition as described in StaticFileConfig
Trait Implementations
sourceimpl Default for DefaultConfig
impl Default for DefaultConfig
sourcefn default() -> DefaultConfig
fn default() -> DefaultConfig
Returns the “default value” for a type. Read more
sourceimpl StaticFileConfig for DefaultConfig
impl StaticFileConfig for DefaultConfig
sourcefn content_disposition_map(typ: Name<'_>) -> DispositionType
fn content_disposition_map(typ: Name<'_>) -> DispositionType
Describes mapping for mime type to content disposition header Read more
sourcefn is_use_etag() -> bool
fn is_use_etag() -> bool
Describes whether Actix should attempt to calculate
ETag
Read moresourcefn is_use_last_modifier() -> bool
fn is_use_last_modifier() -> bool
Describes whether Actix should use last modified date of file. Read more
sourcefn is_method_allowed(_method: &Method) -> bool
fn is_method_allowed(_method: &Method) -> bool
Describes allowed methods to access static resources. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnwindSafe for DefaultConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more