pub struct StaticResponse {
pub header: ResponseHeader,
pub body: StaticResponseBody,
}Expand description
Pre-computed static response returned by the static files middleware
Fields§
§header: ResponseHeader§body: StaticResponseBodyTrait Implementations§
Auto Trait Implementations§
impl !Freeze for StaticResponse
impl !RefUnwindSafe for StaticResponse
impl Send for StaticResponse
impl Sync for StaticResponse
impl Unpin for StaticResponse
impl !UnwindSafe for StaticResponse
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